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:
parent
430c3e08b4
commit
bd69c51ddf
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue