fix: pin nix-darwin to 25.11 and fix CI cross-platform builds #967
No files matched your search
@@ -25,5 +25,5 @@ jobs:
|
||||
nix fmt -- .
|
||||
git diff --exit-code
|
||||
- name: flake check
|
||||
run: nix flake check --all-systems
|
||||
run: nix flake check
|
||||
timeout-minutes: 10
|
||||
Generated
+4
-3
@@ -214,15 +214,16 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1772379624,
|
||||
"narHash": "sha256-NG9LLTWlz4YiaTAiRGChbrzbVxBfX+Auq4Ab/SWmk4A=",
|
||||
"lastModified": 1772129556,
|
||||
"narHash": "sha256-Utk0zd8STPsUJPyjabhzPc5BpPodLTXrwkpXBHYnpeg=",
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "52d061516108769656a8bd9c6e811c677ec5b462",
|
||||
"rev": "ebec37af18215214173c98cf6356d0aca24a2585",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "lnl7",
|
||||
"ref": "nix-darwin-25.11",
|
||||
"repo": "nix-darwin",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
treefmt-nix.url = "github:numtide/treefmt-nix";
|
||||
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
darwin.url = "github:lnl7/nix-darwin";
|
||||
darwin.url = "github:lnl7/nix-darwin/nix-darwin-25.11";
|
||||
darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
@@ -149,24 +149,38 @@
|
||||
};
|
||||
|
||||
} // nixpkgs.lib.recursiveUpdate
|
||||
(flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = getSystemOverlays system { };
|
||||
config = { allowUnfree = true; };
|
||||
};
|
||||
in
|
||||
{
|
||||
formatter = (treefmtEval pkgs).config.build.wrapper;
|
||||
(nixpkgs.lib.recursiveUpdate
|
||||
(flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = getSystemOverlays system { };
|
||||
config = { allowUnfree = true; };
|
||||
};
|
||||
in
|
||||
{
|
||||
formatter = (treefmtEval pkgs).config.build.wrapper;
|
||||
|
||||
checks = {
|
||||
formatting = (treefmtEval pkgs).config.build.check self;
|
||||
opencode-plugin = pkgs.opencode-plugin;
|
||||
};
|
||||
checks = {
|
||||
formatting = (treefmtEval pkgs).config.build.check self;
|
||||
};
|
||||
|
||||
packages.caddy-with-dns = pkgs.caddy-with-dns;
|
||||
}))
|
||||
packages.caddy-with-dns = pkgs.caddy-with-dns;
|
||||
}))
|
||||
(flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = getSystemOverlays system { };
|
||||
config = { allowUnfree = true; };
|
||||
};
|
||||
in
|
||||
{
|
||||
# npm tooling doesn't work on Darwin, only build on Linux
|
||||
checks.opencode-plugin = pkgs.opencode-plugin;
|
||||
}
|
||||
)))
|
||||
(flake-utils.lib.eachSystem [ "x86_64-linux" ] (
|
||||
system:
|
||||
let
|
||||
|
||||
Reference in new issue
Block a user