nixpkgs/test/boot-stage-2.nix
Eelco Dolstra fb4ab4bc8e * Nixify the Upstart jobs.
svn path=/nixu/trunk/; revision=7075
2006-11-19 20:07:45 +00:00

30 lines
582 B
Nix

{ genericSubstituter, shell, coreutils, findutils
, utillinux, kernel, udev
, module_init_tools, nettools, dhcp, upstart
, path ? []
, # Whether the root device is root only. If so, we'll mount a
# ramdisk on /etc, /var and so on.
readOnlyRoot
, # The Upstart job configuration.
upstartJobs
}:
genericSubstituter {
src = ./boot-stage-2-init.sh;
isExecutable = true;
inherit shell kernel upstart readOnlyRoot upstartJobs;
path = [
coreutils
findutils
utillinux
udev
module_init_tools
nettools
dhcp
upstart
];
extraPath = path;
}