mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
flake: make pkgs required in homeManagerConfiguration
Prevents Home Manager from pinning Nixpkgs on behalf of users, see https://github.com/nix-community/home-manager/pull/2971#discussion_r898556798
This commit is contained in:
parent
a0e7ffe7aa
commit
2ff38c646f
1 changed files with 1 additions and 2 deletions
|
@ -30,8 +30,7 @@
|
|||
lib = {
|
||||
hm = import ./modules/lib { lib = nixpkgs.lib; };
|
||||
homeManagerConfiguration = { configuration, system, homeDirectory
|
||||
, username, extraModules ? [ ], extraSpecialArgs ? { }
|
||||
, pkgs ? builtins.getAttr system nixpkgs.outputs.legacyPackages
|
||||
, username, extraModules ? [ ], extraSpecialArgs ? { }, pkgs
|
||||
, lib ? pkgs.lib, check ? true, stateVersion ? "20.09" }@args:
|
||||
assert nixpkgs.lib.versionAtLeast stateVersion "20.09";
|
||||
|
||||
|
|
Loading…
Reference in a new issue