* 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:
Eelco Dolstra 2009-06-05 15:03:56 +00:00
parent e4e408293e
commit f9cfe7c4ee
1 changed files with 1 additions and 1 deletions

View File

@ -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);