hwinfo: patch shebangs for perl

This commit is contained in:
Bob van der Linden 2024-10-25 21:40:07 +02:00
parent 970161ad3d
commit 7ad1f4f455
No known key found for this signature in database

View File

@ -65,6 +65,8 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "/usr/bin/udevinfo" "${systemdMinimal}/bin/udevinfo" \
--replace-fail "/usr/bin/udevadm" "${systemdMinimal}/bin/udevadm"
# Replace /usr/bin/perl
patchShebangs src/ids/convert_hd
'';
# The pci/usb ids in hwinfo are ancient. We can get a more up-to-date list simply by copying from systemd