Move other patched scripts to patches/

This commit is contained in:
Rodrigo Arias 2024-09-06 08:27:07 +02:00
parent 3dad4fb3d1
commit c5b9700655
3 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@
install -m 0755 -d /home
${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
);
@ -51,7 +51,7 @@
system.build.bootStage2 = let
useHostResolvConf = config.networking.resolvconf.enable && config.networking.useHostResolvConf;
bootStage2 = pkgs.substituteAll {
src = ./stage-2-init.sh;
src = ./patches/stage-2-init.sh;
shellDebug = "${pkgs.bashInteractive}/bin/bash";
shell = "${pkgs.bash}/bin/bash";
inherit (config.boot) readOnlyNixStore systemdExecutable extraSystemdUnitPaths;