integration-common: set hmModule's description directly

Removes the hack after https://github.com/NixOS/nixpkgs/pull/173621
landed.
This commit is contained in:
Naïm Favier
2022-06-10 11:13:27 +02:00
committed by Robert Helgesson
parent 0ca0b91088
commit 0434f8e4ca
2 changed files with 5 additions and 14 deletions

View File

@@ -11,7 +11,8 @@ let
extendedLib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
hmModule' = types.submoduleWith {
hmModule = types.submoduleWith {
description = "Home Manager module";
specialArgs = {
lib = extendedLib;
osConfig = config;
@@ -38,16 +39,6 @@ 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 {