1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00

trousers: Fix darwin build

This commit is contained in:
William A. Kennington III 2015-05-11 15:03:07 -07:00
parent 430c3e08b4
commit bd69c51ddf

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = "-lgcc_s";
# Fix broken libtool file
preFixup = ''
preFixup = stdenv.lib.optionalString (!stdenv.isDarwin) ''
sed 's,-lcrypto,-L${openssl}/lib -lcrypto,' -i $out/lib/libtspi.la
'';