Merge pull request #21575 from abuibrahim/master
pktgen: fix runtime paths
This commit is contained in:
commit
79174ece7e
@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-march=core2" ];
|
NIX_CFLAGS_COMPILE = [ "-march=core2" ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace lib/lua/src/luaconf.h --replace /usr/local $out
|
||||||
|
substituteInPlace lib/common/lscpu.h --replace /usr/bin/lscpu ${utillinux}/bin/lscpu
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -d $out/bin
|
install -d $out/bin
|
||||||
install -m 0755 app/app/${RTE_TARGET}/app/pktgen $out/bin
|
install -m 0755 app/app/${RTE_TARGET}/app/pktgen $out/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user