diff --git a/build.nix b/build.nix index cb4a557..69814e3 100644 --- a/build.nix +++ b/build.nix @@ -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 ''}