spdk: fix sandboxed build
commit03c61b71f9f578db76b667a699732dfc46b6b229
authorOrivej Desh <orivej@gmx.fr>
dateMon 21 May 2018, 03:39 (9 years ago)
parent3995b58
pkgs/development/libraries/spdk/default.nix+4
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
1515
1616 buildInputs = [ cunit dpdk libaio libuuid numactl openssl ];
1717
18+ postPatch = ''
19+ patchShebangs .
20+ '';
21+
1822 configureFlags = [ "--with-dpdk=${dpdk}" ];
1923
2024 NIX_CFLAGS_COMPILE = [ "-mssse3" ]; # Necessary to compile.