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.
main
Pierre Bourdon 3 years ago
parent 69e5198b6f
commit 7e472d6dc2
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C
  1. 7
      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
'';

Loading…
Cancel
Save