diff options
author | William A. Kennington III <william@wkennington.com> | 2015-06-06 12:04:42 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-06-06 12:04:42 -0700 |
commit | 9d6555dc0ae65fbed88e6163b79dc322ec46a767 (patch) | |
tree | 2e1107a978bd3a1a09fca272ec8903f7ebe9110a /nixos/modules/system | |
parent | 40b66f613181844dc48a8ef4b0d958687c2cfa31 (diff) | |
parent | ee8825935f771d7c9c1a68a089b396995d683cc4 (diff) | |
download | nixlib-9d6555dc0ae65fbed88e6163b79dc322ec46a767.tar nixlib-9d6555dc0ae65fbed88e6163b79dc322ec46a767.tar.gz nixlib-9d6555dc0ae65fbed88e6163b79dc322ec46a767.tar.bz2 nixlib-9d6555dc0ae65fbed88e6163b79dc322ec46a767.tar.lz nixlib-9d6555dc0ae65fbed88e6163b79dc322ec46a767.tar.xz nixlib-9d6555dc0ae65fbed88e6163b79dc322ec46a767.tar.zst nixlib-9d6555dc0ae65fbed88e6163b79dc322ec46a767.zip |
Merge branch 'master.upstream' into staging.upstream
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/activation/top-level.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix index d7a1e205b4d4..b19fea57f6bf 100644 --- a/nixos/modules/system/activation/top-level.nix +++ b/nixos/modules/system/activation/top-level.nix @@ -81,6 +81,8 @@ let substituteAll ${./switch-to-configuration.pl} $out/bin/switch-to-configuration chmod +x $out/bin/switch-to-configuration + echo -n "${toString config.system.extraDependencies}" > $out/extra-dependencies + ${config.system.extraSystemBuilderCmds} ''; @@ -188,6 +190,16 @@ in ''; }; + system.extraDependencies = mkOption { + type = types.listOf types.package; + default = []; + description = '' + A list of packages that should be included in the system + closure but not otherwise made available to users. This is + primarily used by the installation tests. + ''; + }; + system.replaceRuntimeDependencies = mkOption { default = []; example = lib.literalExample "[ ({ original = pkgs.openssl; replacement = pkgs.callPackage /path/to/openssl { ... }; }) ]"; |