3
0
Fork 0
forked from mirrors/nixpkgs

cygwin: remove kerberos from builsInputs for serf

This commit is contained in:
Rok Garbas 2015-06-05 15:49:11 +02:00
parent 85b7673e92
commit d5087119c6

View file

@ -8,7 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "1bphz616dv1svc50kkm8xbgyszhg3ni2dqbij99sfvjycr7bgk7c";
};
buildInputs = [ apr scons openssl aprutil zlib kerberos pkgconfig ];
buildInputs = [ apr scons openssl aprutil zlib ]
++ stdenv.lib.optional (!stdenv.isCygwin) kerberos
++ [ pkgconfig ];
configurePhase = ''
${gnused}/bin/sed -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"PATH":os.environ["PATH"]})' -i SConstruct
@ -21,7 +23,7 @@ stdenv.mkDerivation rec {
APU="$(echo "${aprutil}"/bin/*-config)" CC="${
if stdenv.isDarwin then "clang" else "${stdenv.cc}/bin/gcc"
}" ${
if stdenv.isDarwin then "" else "GSSAPI=\"${kerberos}\""
if (stdenv.isDarwin || stdenv.isCygwin) then "" else "GSSAPI=\"${kerberos}\""
}
'';