diff options
author | Ruslan Babayev <ruslan@babayev.com> | 2016-05-31 22:11:06 -0700 |
---|---|---|
committer | Ruslan Babayev <ruslan@babayev.com> | 2016-06-02 02:12:06 -0700 |
commit | 6a7f257e88eb770a6dfd53174bc0cc3d9f1c88ad (patch) | |
tree | 8194115249ab7ba239765c2649fb28ccca92bb87 /pkgs/os-specific/linux/dpdk | |
parent | e54ef8bb1679fe9fcd7acc92781f3697d54a6eca (diff) |
dpdk: install examples to bin
Diffstat (limited to 'pkgs/os-specific/linux/dpdk')
-rw-r--r-- | pkgs/os-specific/linux/dpdk/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/dpdk/default.nix b/pkgs/os-specific/linux/dpdk/default.nix index e414f4a1aa3ea..5781fee7ec451 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; { |