1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

cygwin: currently no libsigsegv for x86_64-cygwin

This commit is contained in:
Florian Friesdorf 2014-10-24 03:16:12 +02:00 committed by Rok Garbas
parent 5f4a9c3391
commit 2876b726bd

View file

@ -10,10 +10,10 @@ stdenv.mkDerivation rec {
doCheck = !stdenv.isCygwin; # XXX: `test-dup2' segfaults on Cygwin 6.1
buildInputs = [ libsigsegv ]
buildInputs = stdenv.lib.optional (stdenv.system != "x86_64-cygwin") libsigsegv
++ stdenv.lib.optional readlineSupport readline;
configureFlags = [ "--with-libsigsegv-prefix=${libsigsegv}" ]
configureFlags = stdenv.lib.optional (stdenv.system != "x86_64-cygwin") "--with-libsigsegv-prefix=${libsigsegv}"
++ stdenv.lib.optional readlineSupport "--with-readline=${readline}"
# only darwin where reported, seems OK on non-chrooted Fedora (don't rebuild stdenv)
++ stdenv.lib.optional (!readlineSupport && stdenv.isDarwin) "--without-readline";