diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2015-05-09 21:11:49 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2015-05-09 21:11:49 +0000 |
commit | 21dd114f8204178d72d1587ec032be0e7f066c43 (patch) | |
tree | 9bf51e4f1a8897ba0f1ae4ed5a14eaa1a0b9cadc /nixos | |
parent | 282354a6cfe45f0bc0a62a91515a1bfac80fad0d (diff) | |
download | nixlib-21dd114f8204178d72d1587ec032be0e7f066c43.tar nixlib-21dd114f8204178d72d1587ec032be0e7f066c43.tar.gz nixlib-21dd114f8204178d72d1587ec032be0e7f066c43.tar.bz2 nixlib-21dd114f8204178d72d1587ec032be0e7f066c43.tar.lz nixlib-21dd114f8204178d72d1587ec032be0e7f066c43.tar.xz nixlib-21dd114f8204178d72d1587ec032be0e7f066c43.tar.zst nixlib-21dd114f8204178d72d1587ec032be0e7f066c43.zip |
Revert "Making nixos keep a ref to its stdenv"
This reverts commit d170c98d13a7b622c57c9b9f727a6bfec95a9181. niksnut argues that we need smaller system closures, not bigger. So users facing the trouble of getting gcc rebuilds after nix-collect-garbage for any minimal nixos configuration change should use other means of not losing the stdenv output. One way is to keep one somewhere: nix-build -A stdenv -o stdenv '<nixpkgs>'. Another may be to use nix.conf options like gc-keep-outputs, gc-keep-derivations or env-keep-derivations.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/activation/top-level.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix index 52d76b03602f..d7a1e205b4d4 100644 --- a/nixos/modules/system/activation/top-level.nix +++ b/nixos/modules/system/activation/top-level.nix @@ -64,7 +64,6 @@ let ln -s ${config.system.build.etc}/etc $out/etc ln -s ${config.system.path} $out/sw ln -s "$systemd" $out/systemd - ln -s ${pkgs.stdenv} $out/stdenv echo -n "$configurationName" > $out/configuration-name echo -n "systemd ${toString config.systemd.package.interfaceVersion}" > $out/init-interface-version |