about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2021-12-09 09:28:18 +0100
committerPierre Bourdon <delroth@gmail.com>2021-12-09 09:28:18 +0100
commit7e472d6dc2b3bdc6be73038fba513e7641e82bfd (patch)
tree691b405a21e961e5eabaaf8d8c8881d322611886 /pkgs/os-specific
parent69e5198b6f472b2cd672ec8ba09abe2dd5969a04 (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.nix7
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
   '';