mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
nixos/top-level.nix: Remove workaround for #156533
This commit is contained in:
parent
0b05ed2c78
commit
37fa46a224
|
@ -125,16 +125,6 @@ let
|
||||||
pkgs.replaceDependency { inherit oldDependency newDependency drv; }
|
pkgs.replaceDependency { inherit oldDependency newDependency drv; }
|
||||||
) baseSystemAssertWarn config.system.replaceRuntimeDependencies;
|
) baseSystemAssertWarn config.system.replaceRuntimeDependencies;
|
||||||
|
|
||||||
/* Workaround until https://github.com/NixOS/nixpkgs/pull/156533
|
|
||||||
Call can be replaced by argument when that's merged.
|
|
||||||
*/
|
|
||||||
tmpFixupSubmoduleBoundary = subopts:
|
|
||||||
lib.mkOption {
|
|
||||||
type = lib.types.submoduleWith {
|
|
||||||
modules = [ { options = subopts; } ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -173,7 +163,7 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
system.build = tmpFixupSubmoduleBoundary {
|
system.build = {
|
||||||
installBootLoader = mkOption {
|
installBootLoader = mkOption {
|
||||||
internal = true;
|
internal = true;
|
||||||
# "; true" => make the `$out` argument from switch-to-configuration.pl
|
# "; true" => make the `$out` argument from switch-to-configuration.pl
|
||||||
|
|
Loading…
Reference in a new issue