diff options
author | Pierre Bourdon <delroth@gmail.com> | 2021-12-09 09:28:18 +0100 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2021-12-09 09:28:18 +0100 |
commit | 7e472d6dc2b3bdc6be73038fba513e7641e82bfd (patch) | |
tree | 691b405a21e961e5eabaaf8d8c8881d322611886 /pkgs/os-specific | |
parent | 69e5198b6f472b2cd672ec8ba09abe2dd5969a04 (diff) |
dpdk: move rdma-core dependency to propagated
This allows for static building against DPDK. I would rather have all nixpkgs users link properly against the shared libraries, but fixing odp-dpdk looks like it will require patching their autoconf scripts.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/dpdk/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/dpdk/default.nix b/pkgs/os-specific/linux/dpdk/default.nix index f5d3ca5eaec0e..7592be483f532 100644 --- a/pkgs/os-specific/linux/dpdk/default.nix +++ b/pkgs/os-specific/linux/dpdk/default.nix @@ -36,10 +36,15 @@ in stdenv.mkDerivation rec { libpcap numactl openssl.dev - rdma-core zlib ] ++ lib.optionals mod kernel.moduleBuildDependencies; + # Propagated to support current DPDK users in nixpkgs which statically link + # with the framework (e.g. odp-dpdk). + propagatedBuildInputs = [ + rdma-core + ]; + postPatch = '' patchShebangs config/arm buildtools ''; |