diff --git a/pkgs/os-specific/linux/dpdk/default.nix b/pkgs/os-specific/linux/dpdk/default.nix index 31eb8931c280..e48e9400e11e 100644 --- a/pkgs/os-specific/linux/dpdk/default.nix +++ b/pkgs/os-specific/linux/dpdk/default.nix @@ -34,10 +34,10 @@ stdenv.mkDerivation rec { installPhase = '' mkdir $out - cp -pr x86_64-native-linuxapp-gcc/{app,lib,include,kmod} $out/ + cp -pr x86_64-native-linuxapp-gcc/{lib,include,kmod} $out/ mkdir -p $examples/bin - find examples -type f -executable -exec cp {} $examples/bin \; + find examples ${RTE_TARGET}/app -type f -executable -exec cp {} $examples/bin \; ''; meta = with stdenv.lib; {