ovn: Fix command not found

Fixes https://www.github.com/NixOS/nixpkgs/issues/464825
This commit is contained in:
Artturin
2025-11-27 14:39:07 +02:00
parent 66a5440b03
commit 8c8c5abaa0
+13 -1
View File
@@ -15,6 +15,10 @@
unbound,
xdp-tools,
openvswitch,
gawk,
coreutils,
gnugrep,
gnused,
makeWrapper,
}:
let
@@ -117,7 +121,15 @@ stdenv.mkDerivation (finalAttrs: {
ln -s ${openvswitch}/share/openvswitch/scripts/ovs-lib $out/share/openvswitch/scripts/ovs-lib
wrapProgram $out/share/ovn/scripts/ovn-ctl \
--prefix PATH : ${lib.makeBinPath [ openvswitch ]}
--prefix PATH : ${
lib.makeBinPath [
openvswitch
gawk
coreutils # tr
gnugrep
gnused
]
}
'';
env = {