mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
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:
parent
fe446f8bb4
commit
74461420f9
@ -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"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user