fix: use let binding for forAllSystems to resolve scoping in flake-parts module
This commit is contained in:
parent
2a728384fc
commit
2b9a3975a3
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,7 @@
|
|||
{ inputs, ... }:
|
||||
let
|
||||
forAllSystems = inputs.nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ];
|
||||
in
|
||||
{
|
||||
flake.packages = forAllSystems (system:
|
||||
let
|
||||
|
|
@ -23,7 +26,4 @@
|
|||
'';
|
||||
}
|
||||
);
|
||||
|
||||
# Helper: build for the standard platforms
|
||||
forAllSystems = inputs.nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue