fix: use let binding for forAllSystems to resolve scoping in flake-parts module

This commit is contained in:
engineering Agent 2026-05-14 18:39:23 -07:00
parent 2a728384fc
commit 2b9a3975a3

View file

@ -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" ];
}