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.
This commit is contained in:
Florian Klink 2023-12-14 19:09:57 +02:00
parent fe446f8bb4
commit 74461420f9

View File

@ -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"
'';