diff options
author | Florian Friesdorf <flo@chaoflow.net> | 2014-10-24 03:16:12 +0200 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2015-05-28 10:53:36 +0200 |
commit | 2876b726bdd8070c3dbc2d01cae7318de854fae0 (patch) | |
tree | bf548aea322d8625ecdef1c5a9ef8dce72dffd62 /pkgs/tools/text/gawk | |
parent | 5f4a9c3391bad23ffbb3e0a3b740115b7ebee11e (diff) |
cygwin: currently no libsigsegv for x86_64-cygwin
Diffstat (limited to 'pkgs/tools/text/gawk')
-rw-r--r-- | pkgs/tools/text/gawk/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/gawk/default.nix b/pkgs/tools/text/gawk/default.nix index 35e0b6d927b2..c6eb7ba11019 100644 --- a/pkgs/tools/text/gawk/default.nix +++ b/pkgs/tools/text/gawk/default.nix @@ -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"; |