fix: move forAllSystems before flake.packages reference

This commit is contained in:
engineering Agent 2026-05-14 18:35:01 -07:00
parent 1169f7a638
commit c7a4db778c

View file

@ -1,5 +1,8 @@
{ inputs, ... }:
{
# Helper: build for the standard platforms
forAllSystems = inputs.nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ];
flake.packages = forAllSystems (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
@ -23,7 +26,4 @@
'';
}
);
# Helper: build for the standard platforms
forAllSystems = inputs.nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ];
}