Move other patched scripts to patches/
This commit is contained in:
parent
3dad4fb3d1
commit
c5b9700655
@ -39,7 +39,7 @@
|
|||||||
install -m 0755 -d /home
|
install -m 0755 -d /home
|
||||||
|
|
||||||
${pkgs.perl.withPackages (p: [ p.FileSlurp p.JSON ])}/bin/perl \
|
${pkgs.perl.withPackages (p: [ p.FileSlurp p.JSON ])}/bin/perl \
|
||||||
-w ${./update-users-groups.pl} ${spec}
|
-w ${./patches/update-users-groups.pl} ${spec}
|
||||||
'';
|
'';
|
||||||
} else "" # keep around for backwards compatibility
|
} else "" # keep around for backwards compatibility
|
||||||
);
|
);
|
||||||
@ -51,7 +51,7 @@
|
|||||||
system.build.bootStage2 = let
|
system.build.bootStage2 = let
|
||||||
useHostResolvConf = config.networking.resolvconf.enable && config.networking.useHostResolvConf;
|
useHostResolvConf = config.networking.resolvconf.enable && config.networking.useHostResolvConf;
|
||||||
bootStage2 = pkgs.substituteAll {
|
bootStage2 = pkgs.substituteAll {
|
||||||
src = ./stage-2-init.sh;
|
src = ./patches/stage-2-init.sh;
|
||||||
shellDebug = "${pkgs.bashInteractive}/bin/bash";
|
shellDebug = "${pkgs.bashInteractive}/bin/bash";
|
||||||
shell = "${pkgs.bash}/bin/bash";
|
shell = "${pkgs.bash}/bin/bash";
|
||||||
inherit (config.boot) readOnlyNixStore systemdExecutable extraSystemdUnitPaths;
|
inherit (config.boot) readOnlyNixStore systemdExecutable extraSystemdUnitPaths;
|
||||||
|
Loading…
Reference in New Issue
Block a user