From 6a7f257e88eb770a6dfd53174bc0cc3d9f1c88ad Mon Sep 17 00:00:00 2001 From: Ruslan Babayev Date: Tue, 31 May 2016 22:11:06 -0700 Subject: [PATCH] dpdk: install examples to bin --- pkgs/os-specific/linux/dpdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/dpdk/default.nix b/pkgs/os-specific/linux/dpdk/default.nix index e414f4a1aa3e..5781fee7ec45 100644 --- a/pkgs/os-specific/linux/dpdk/default.nix +++ b/pkgs/os-specific/linux/dpdk/default.nix @@ -32,8 +32,8 @@ stdenv.mkDerivation rec { mkdir $out cp -pr x86_64-native-linuxapp-gcc/{app,lib,include,kmod} $out/ - mkdir $examples - cp -pr examples/* $examples/ + mkdir -p $examples/bin + find examples -type f -executable -exec cp {} $examples/bin \; ''; meta = with stdenv.lib; {