mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
0817c307dc
svn path=/nixos/trunk/; revision=7155
27 lines
523 B
Nix
27 lines
523 B
Nix
{ genericSubstituter, shell, coreutils, findutils
|
|
, utillinux, kernel, udev, 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
|
|
|
|
, hostName
|
|
}:
|
|
|
|
genericSubstituter {
|
|
src = ./boot-stage-2-init.sh;
|
|
isExecutable = true;
|
|
inherit shell kernel upstart readOnlyRoot upstartJobs hostName;
|
|
path = [
|
|
coreutils
|
|
findutils
|
|
utillinux
|
|
udev
|
|
upstart
|
|
];
|
|
extraPath = path;
|
|
}
|