Author: eelco
Date: Wed Mar 9 12:14:06 2011
New Revision: 26227
URL: https://svn.nixos.org/websvn/nix/?rev=26227&sc=1
Log:
* Remove the unnecessary warning printed by `nixos-rebuild test'. The
current configuration (/var/run/current-system) is always a GC root.
Modified:
nixos/trunk/modules/installer/tools/nixos-rebuild.sh
Modified: nixos/trunk/modules/installer/tools/nixos-rebuild.sh
==============================================================================
--- nixos/trunk/modules/installer/tools/nixos-rebuild.sh Wed Mar 9
12:08:16 2011 (r26226)
+++ nixos/trunk/modules/installer/tools/nixos-rebuild.sh Wed Mar 9
12:14:06 2011 (r26227)
@@ -200,16 +200,6 @@
fi
-if test "$action" = test; then
- cat >&2 <<EOF
-
-Warning: if you remove or overwrite the symlink \`$pathToConfig', the
-active system configuration may be garbage collected! This may render
-the system inoperable (though a reboot will fix things).
-EOF
-fi
-
-
if test "$action" = build-vm; then
cat >&2 <<EOF
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits