toplevel: pass localSystem into mkPkgs

hopefully this fixes pure-mode flake evaluation
This commit is contained in:
2025-03-03 08:11:10 +00:00
parent 64a2d60d89
commit 989f321c53

View File

@@ -11,7 +11,7 @@ let
mkPkgs = branch: args: ( mkPkgs = branch: args: (
(import ./pkgs/by-name/nixpkgs-bootstrap/${branch}.nix {}).override args (import ./pkgs/by-name/nixpkgs-bootstrap/${branch}.nix {}).override args
).extend (import ./overlays/all.nix); ).extend (import ./overlays/all.nix);
pkgs = mkPkgs "master" {}; pkgs = mkPkgs "master" { inherit localSystem; };
inherit (pkgs) lib; inherit (pkgs) lib;
evalHost = { name, localSystem, system, branch ? "master", variant ? null }: evalHost = { name, localSystem, system, branch ? "master", variant ? null }: