mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +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