mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
Revert "integration-common: set hmModule's description directly"
This reverts commit 0434f8e4ca.
This commit is contained in:
parent
9550595502
commit
be3adf9920
2 changed files with 14 additions and 5 deletions
|
|
@ -11,8 +11,7 @@ let
|
|||
|
||||
extendedLib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
|
||||
|
||||
hmModule = types.submoduleWith {
|
||||
description = "Home Manager module";
|
||||
hmModule' = types.submoduleWith {
|
||||
specialArgs = {
|
||||
lib = extendedLib;
|
||||
osConfig = config;
|
||||
|
|
@ -39,6 +38,16 @@ let
|
|||
};
|
||||
})
|
||||
] ++ cfg.sharedModules;
|
||||
} // {
|
||||
description = "Home Manager module";
|
||||
};
|
||||
|
||||
# TODO: hack until https://github.com/NixOS/nixpkgs/pull/173621 lands
|
||||
hmModule = hmModule' // {
|
||||
substSubModules = m:
|
||||
hmModule'.substSubModules m // {
|
||||
inherit (hmModule') description;
|
||||
};
|
||||
};
|
||||
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue