about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-08-28T20·04+0200
committerEelco Dolstra <edolstra@gmail.com>2019-08-28T20·04+0200
commitc128031492b7134f67065b66a89f9183e79e99f9 (patch)
tree0418394449e1f72d165206deae38bff8f8bbdd11
parent7ef2645f45abdd35f88d7760a3e9f13a872fcb11 (diff)
Fix macOS build
https://hydra.nixos.org/build/99500938
-rw-r--r--release.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index ab677f3bd466..0fe6835186b0 100644
--- a/release.nix
+++ b/release.nix
@@ -74,8 +74,8 @@ let
             mkdir -p $out/lib
             cp -pd ${boost}/lib/{libboost_context*,libboost_thread*,libboost_system*} $out/lib
             rm -f $out/lib/*.a
-            chmod u+w $out/lib/*.so.*
             ${lib.optionalString stdenv.isLinux ''
+              chmod u+w $out/lib/*.so.*
               patchelf --set-rpath $out/lib:${stdenv.cc.cc.lib}/lib $out/lib/libboost_thread.so.*
             ''}
           '';