From 74461420f9412c02dff402b7701e303ba852c4cf Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 14 Dec 2023 19:09:57 +0200 Subject: bcache-tools: don't patch path to /bin/sh This will make these udev rules not work in the systemd-based initrd, which only has /bin/sh. --- pkgs/tools/filesystems/bcache-tools/default.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkgs/tools/filesystems/bcache-tools') diff --git a/pkgs/tools/filesystems/bcache-tools/default.nix b/pkgs/tools/filesystems/bcache-tools/default.nix index f6dfdd84d8c4f..58f6a05992e90 100644 --- a/pkgs/tools/filesystems/bcache-tools/default.nix +++ b/pkgs/tools/filesystems/bcache-tools/default.nix @@ -35,10 +35,6 @@ stdenv.mkDerivation rec { "UDEVLIBDIR=${placeholder "out"}/lib/udev/" ]; - preBuild = '' - sed -e "s|/bin/sh|${bash}/bin/sh|" -i *.rules - ''; - preInstall = '' mkdir -p "$out/sbin" "$out/lib/udev/rules.d" "$out/share/man/man8" ''; -- cgit 1.4.1