ALL the canada film photos
All checks were successful
Build OCI Image / docker (push) Successful in 1m28s

This commit is contained in:
2025-08-23 15:21:10 +08:00
parent 96a305dbf5
commit 51f3225682
186 changed files with 307 additions and 5 deletions

View File

@@ -5,20 +5,40 @@
flake-utils = {
url = "github:numtide/flake-utils";
};
zig = {
url = "github:mitchellh/zig-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
zls = {
url = "github:zigtools/zls";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
nixpkgs,
zig,
zls,
flake-utils,
...
}:
let
overlays = [
(final: prev: {
zigpkgs = zig.packages.${prev.system};
zlspkgs = zls.packages.${prev.system};
})
];
in
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
};
pkgs = import nixpkgs { inherit overlays system; };
zig = pkgs.zigpkgs."0.15.1";
zls = pkgs.zlspkgs.zls.overrideAttrs (prev: {
nativeBuildInputs = [ zig ];
});
zineBinary =
if system == "aarch64-darwin" then
pkgs.stdenvNoCC.mkDerivation {
@@ -42,6 +62,8 @@
devShells = {
default = pkgs.mkShell {
buildInputs = [
zig
zls
zineBinary
];
};