From c5b9700655d1e348966d48b780085862f34be28c Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 6 Sep 2024 08:27:07 +0200 Subject: [PATCH] Move other patched scripts to patches/ --- lagarto-ox.nix | 4 ++-- stage-2-init.sh => patches/stage-2-init.sh | 0 update-users-groups.pl => patches/update-users-groups.pl | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename stage-2-init.sh => patches/stage-2-init.sh (100%) rename update-users-groups.pl => patches/update-users-groups.pl (100%) diff --git a/lagarto-ox.nix b/lagarto-ox.nix index 6f71896..a1c4033 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -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; diff --git a/stage-2-init.sh b/patches/stage-2-init.sh similarity index 100% rename from stage-2-init.sh rename to patches/stage-2-init.sh diff --git a/update-users-groups.pl b/patches/update-users-groups.pl similarity index 100% rename from update-users-groups.pl rename to patches/update-users-groups.pl