* The activation script can't use /bin/sh as its interpreter because
it creates the /bin/sh symlink, which may not exist yet (esp. when booting from CD). svn path=/nixos/branches/modular-nixos/; revision=15875
This commit is contained in:
parent
e4e408293e
commit
f9cfe7c4ee
|
@ -205,7 +205,7 @@ in
|
|||
activateLibNames = attrNames activateLib;
|
||||
in {
|
||||
script = pkgs.writeScript "nixos-activation-script"
|
||||
("#!/bin/sh\n"
|
||||
("#! ${pkgs.stdenv.shell}\n"
|
||||
+ textClosureMap id activateLib activateLibNames + "\n"
|
||||
# make sure that the activate snippet is added last.
|
||||
+ withHeadlines.activate.text);
|
||||
|
|
Loading…
Reference in New Issue