ifstate: patch ethtool path (#534621)

This commit is contained in:
Jacek Galowicz
2026-06-23 15:33:55 +00:00
committed by GitHub
+4
View File
@@ -4,6 +4,7 @@
yq,
python3Packages,
fetchFromCodeberg,
ethtool,
iproute2,
libbpf,
nixosTests,
@@ -62,6 +63,9 @@ let
postPatch = ''
substituteInPlace libifstate/routing/__init__.py \
--replace-fail '/usr/share/iproute2' '${iproute2}/share/iproute2'
substituteInPlace libifstate/link/base.py \
--replace-fail "/usr/sbin/ethtool" "${lib.getExe ethtool}"
''
+ lib.optionalString withBpf ''
substituteInPlace libifstate/bpf/ctypes.py \