diff options
author | David McFarland <corngood@gmail.com> | 2017-05-23 10:36:07 -0300 |
---|---|---|
committer | David McFarland <corngood@gmail.com> | 2017-06-26 09:26:10 -0300 |
commit | 33eec8e105359b1c01490f64f02057bf75a90c09 (patch) | |
tree | 61d1fb50f771d7539c73c82c84e3c4c749926ceb /pkgs/development/libraries/ncurses | |
parent | 3c76cd7626dd5db7b3d5a83dbb054cd414631454 (diff) | |
download | nixlib-33eec8e105359b1c01490f64f02057bf75a90c09.tar nixlib-33eec8e105359b1c01490f64f02057bf75a90c09.tar.gz nixlib-33eec8e105359b1c01490f64f02057bf75a90c09.tar.bz2 nixlib-33eec8e105359b1c01490f64f02057bf75a90c09.tar.lz nixlib-33eec8e105359b1c01490f64f02057bf75a90c09.tar.xz nixlib-33eec8e105359b1c01490f64f02057bf75a90c09.tar.zst nixlib-33eec8e105359b1c01490f64f02057bf75a90c09.zip |
ncurses: fix cygwin build
Diffstat (limited to 'pkgs/development/libraries/ncurses')
-rw-r--r-- | pkgs/development/libraries/ncurses/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix index 46283e371aa9..827a556a4688 100644 --- a/pkgs/development/libraries/ncurses/default.nix +++ b/pkgs/development/libraries/ncurses/default.nix @@ -61,8 +61,6 @@ stdenv.mkDerivation rec { -e '/CPPFLAGS="$CPPFLAGS/s/ -D_XOPEN_SOURCE_EXTENDED//' \ configure CFLAGS=-D_XOPEN_SOURCE_EXTENDED - '' + lib.optionalString stdenv.isCygwin '' - sed -i -e 's,LIB_SUFFIX="t,LIB_SUFFIX=",' configure ''; enableParallelBuilding = true; @@ -122,7 +120,7 @@ stdenv.mkDerivation rec { moveToOutput "bin/tset" "$out" ''; - preFixup = '' + preFixup = lib.optionalString (!hostPlatform.isCygwin) '' rm "$out"/lib/*.a ''; |