mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
707dd20538
svn path=/nixu/trunk/; revision=6932
18 lines
545 B
Nix
18 lines
545 B
Nix
# This Nix expression builds the script that performs the first stage
|
|
# of booting the system: it loads the modules necessary to mount the
|
|
# root file system, then calls /init in the root file system to start
|
|
# the second boot stage. The closure of the result of this expression
|
|
# is supposed to be put into an initial RAM disk (initrd).
|
|
|
|
{genericSubstituter, shell, staticTools}:
|
|
|
|
genericSubstituter {
|
|
src = ./boot-stage-1-init.sh;
|
|
isExecutable = true;
|
|
inherit shell;
|
|
path = [
|
|
staticTools
|
|
];
|
|
makeDevices = ./make-devices.sh;
|
|
}
|