From c7a4db778ce6499c0e57700109e87b076afcb2dc Mon Sep 17 00:00:00 2001 From: agent-engineering Date: Thu, 14 May 2026 18:35:01 -0700 Subject: [PATCH] fix: move forAllSystems before flake.packages reference --- nix/packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/packages.nix b/nix/packages.nix index 226bca9..5f10cfc 100644 --- a/nix/packages.nix +++ b/nix/packages.nix @@ -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" ]; }