spdk: fix sandboxed build
This commit is contained in:
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ cunit dpdk libaio libuuid numactl openssl ];
|
buildInputs = [ cunit dpdk libaio libuuid numactl openssl ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--with-dpdk=${dpdk}" ];
|
configureFlags = [ "--with-dpdk=${dpdk}" ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-mssse3" ]; # Necessary to compile.
|
NIX_CFLAGS_COMPILE = [ "-mssse3" ]; # Necessary to compile.
|
||||||
|
|||||||
Reference in New Issue
Block a user