nixfmt-rfc-style
There is nothing in this commit except for the changes made by nix-shell -p nixfmt-rfc-style --run "nixfmt ." If this has mucked up your open branches then sorry about that. You can probably nixfmt them to match before merging
This commit is contained in:
@@ -7,17 +7,26 @@
|
||||
s6-rc,
|
||||
}:
|
||||
let
|
||||
hpr = name: arg: writeScript name ''
|
||||
#!${execline}/bin/execlineb -S0
|
||||
${s6-linux-init}/bin/s6-linux-init-hpr ${arg} \$@
|
||||
'';
|
||||
hpr =
|
||||
name: arg:
|
||||
writeScript name ''
|
||||
#!${execline}/bin/execlineb -S0
|
||||
${s6-linux-init}/bin/s6-linux-init-hpr ${arg} \$@
|
||||
'';
|
||||
init = writeScript "init" ''
|
||||
#!${execline}/bin/execlineb -S0
|
||||
${s6-linux-init}/bin/s6-linux-init -c /etc/s6-linux-init/current -m 0022 -p ${lib.makeBinPath [execline s6-linux-init s6-rc]}:/usr/bin:/bin -d /dev -- "\$@"
|
||||
${s6-linux-init}/bin/s6-linux-init -c /etc/s6-linux-init/current -m 0022 -p ${
|
||||
lib.makeBinPath [
|
||||
execline
|
||||
s6-linux-init
|
||||
s6-rc
|
||||
]
|
||||
}:/usr/bin:/bin -d /dev -- "\$@"
|
||||
'';
|
||||
in stdenvNoCC.mkDerivation {
|
||||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "s6-init-bin";
|
||||
phases = ["installPhase"];
|
||||
phases = [ "installPhase" ];
|
||||
installPhase = ''
|
||||
bin=$out/bin
|
||||
mkdir -p $bin
|
||||
|
Reference in New Issue
Block a user