From b234bbff0f6884d868495dfd574b9b8a46771bdb Mon Sep 17 00:00:00 2001 From: nikstur Date: Thu, 14 Sep 2023 20:37:36 +0200 Subject: [PATCH] systemd: re-exclude kernel-install from patchShebangs Even though kernel-install was rewritten in C and is thus not a script anymore that needs to be patched, there are still .install scripts in the kernel-install directory that need to be patchd. --- pkgs/os-specific/linux/systemd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index d7f0245b3a1c..a938a98f2417 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -368,7 +368,7 @@ stdenv.mkDerivation (finalAttrs: { # when cross-compiling. + '' shopt -s extglob - patchShebangs tools test src/!(rpm|ukify) src/kernel-install/test-kernel-install.sh + patchShebangs tools test src/!(rpm|kernel-install|ukify) src/kernel-install/test-kernel-install.sh ''; outputs = [ "out" "man" "dev" ];