From 6b1af5cbabef28541748bfc88c8ff1e7b9751d65 Mon Sep 17 00:00:00 2001 From: Jacob Birkett Date: Sat, 31 May 2025 12:25:28 -0700 Subject: [PATCH] flake: pkgsForEach: replace legacyPackages with manual import --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index affc70b..135a05a 100644 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,10 @@ ... } @ inputs: let forAllSystems = nixpkgs.lib.genAttrs ["x86_64-linux" "aarch64-linux"]; - pkgsForEach = nixpkgs.legacyPackages; + pkgsForEach = forAllSystems (system: + import nixpkgs { + localSystem.system = system; + }); in { packages = forAllSystems (system: { superfreq = pkgsForEach.${system}.callPackage ./nix/package.nix {};