mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
flake: don't reinstantiate nixpkgs
See https://zimbatm.com/notes/1000-instances-of-nixpkgs for motivation.
This commit is contained in:
committed by
Robert Helgesson
parent
2ff38c646f
commit
69e804839e
@@ -45,7 +45,7 @@
|
|||||||
};
|
};
|
||||||
} // utils.lib.eachDefaultSystem (system:
|
} // utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
docs = import ./docs {
|
docs = import ./docs {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
nmdSrc = nmd;
|
nmdSrc = nmd;
|
||||||
|
|||||||
Reference in New Issue
Block a user