mirror of
https://github.com/nix-community/home-manager
synced 2024-11-20 18:19:45 +01:00
modules: Export pkgs
to match NixOS (#2696)
This makes it a lot easier to access the `pkgs` that would be used to build the home configuration, e.g. nix build ./dotfiles#homeConfigurations."user@host".pkgs.vim This is useful as it allows access to a Nixpkgs that has been instiantiated with config and overlays.
This commit is contained in:
parent
2e473a7b09
commit
8ab155c61f
1 changed files with 2 additions and 0 deletions
|
@ -61,4 +61,6 @@ in
|
|||
sort (a: b: a.time > b.time) (
|
||||
filter (a: a.condition) rawModule.config.news.entries
|
||||
);
|
||||
|
||||
inherit (module._module.args) pkgs;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue