nixpkgs/boot/boot-stage-2.nix
Eelco Dolstra acf656125c * Lots of refactoring.
* Clear the PATH in most scripts.  This helps to ensure purity.

svn path=/nixos/trunk/; revision=7299
2006-12-10 22:29:44 +00:00

30 lines
522 B
Nix

{ substituteAll, coreutils
, utillinux, kernel, udev, upstart
, activateConfiguration
, # Whether the root device is root only. If so, we'll mount a
# ramdisk on /etc, /var and so on.
readOnlyRoot
, # Path for Upstart jobs. Should be quite minimal.
upstartPath
}:
let
startPath = [
coreutils
utillinux
udev
upstart
];
in
substituteAll {
src = ./boot-stage-2-init.sh;
isExecutable = true;
inherit kernel upstart readOnlyRoot activateConfiguration upstartPath;
inherit startPath;
}