mirror of
https://github.com/nix-community/naersk
synced 2024-11-22 11:43:10 +00:00
Merge pull request #52 from pikajude/so-copy
Exclude .so files from exe copy
This commit is contained in:
commit
32a63fd415
1 changed files with 3 additions and 1 deletions
|
@ -253,7 +253,9 @@ let
|
|||
${lib.optionalString copyBins ''
|
||||
if [ -d out ]; then
|
||||
mkdir -p $out/bin
|
||||
find out -type f -executable -exec cp {} $out/bin \;
|
||||
find out -type f -executable \
|
||||
-not -name '*.so' -a -not -name '*.dylib' \
|
||||
-exec cp {} $out/bin \;
|
||||
fi
|
||||
''}
|
||||
|
||||
|
|
Loading…
Reference in a new issue