From 2142bc8d338fcaa05c739016349d1acce4f4c836 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 2 Feb 2023 18:07:55 +0200 Subject: [PATCH] systemd: don't reference build bash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the .install files retained references to build bash $ pwd /nix/store/yfzncfa577cbc0r1bm1fjdc1szyy0dif-systemd-aarch64-unknown-linux-gnu-252.4/lib $ tree kernel kernel ├── install.conf └── install.d ├── 50-depmod.install └── 90-loaderentry.install --- 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 e871d6618c34..b1b6644a60e9 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -339,7 +339,7 @@ stdenv.mkDerivation { # when cross-compiling. + '' shopt -s extglob - patchShebangs tools test src/!(rpm) + patchShebangs tools test src/!(rpm|kernel-install) src/kernel-install/test-kernel-install.sh ''; outputs = [ "out" "man" "dev" ];