diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-08-28T20·04+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-08-28T20·04+0200 |
commit | c128031492b7134f67065b66a89f9183e79e99f9 (patch) | |
tree | 0418394449e1f72d165206deae38bff8f8bbdd11 /release.nix | |
parent | 7ef2645f45abdd35f88d7760a3e9f13a872fcb11 (diff) |
Fix macOS build
https://hydra.nixos.org/build/99500938
Diffstat (limited to 'release.nix')
-rw-r--r-- | release.nix | 2 |
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.* ''} ''; |