From bd69c51ddf12d313734e940ee7745c852ad6158b Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 11 May 2015 15:03:07 -0700 Subject: [PATCH] trousers: Fix darwin build --- pkgs/tools/security/trousers/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/trousers/default.nix b/pkgs/tools/security/trousers/default.nix index 38ff4acc43bd..9d15b16a1885 100644 --- a/pkgs/tools/security/trousers/default.nix +++ b/pkgs/tools/security/trousers/default.nix @@ -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 '';