1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

gsasl: fix build on Darwin (close #2260, fixes #2259)

@vcunat rewrote with "more standard" optional functions.
This commit is contained in:
John Wiegley 2014-04-14 14:24:24 -05:00 committed by Vladimír Čunát
parent 8340454544
commit 84dae6fe28

View file

@ -8,7 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "1rci64cxvcfr8xcjpqc4inpfq7aw4snnsbf5xz7d30nhvv8n40ii";
};
buildInputs = [ gss libidn ];
buildInputs = [ libidn ]
++ stdenv.lib.optional (!stdenv.isDarwin) gss;
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--with-gssapi-impl=mit";
doCheck = true;