summary refs log tree commit diff
path: root/pkgs/development/libraries/ncurses/default.nix
diff options
context:
space:
mode:
authorEric Wolf <ericwolf42@gmail.com>2018-08-08 18:22:10 +0200
committerEric Wolf <ericwolf42@gmail.com>2018-08-09 12:13:49 +0200
commit4df268d237cf9e07c3e0e7c251515669a7919a4e (patch)
treea03e3ae85235f59b50bb24da6639a8c8cb7c8254 /pkgs/development/libraries/ncurses/default.nix
parentfe68c9d45026857c330d2c8dda8e6fbea23a6cee (diff)
downloadnixlib-4df268d237cf9e07c3e0e7c251515669a7919a4e.tar
nixlib-4df268d237cf9e07c3e0e7c251515669a7919a4e.tar.gz
nixlib-4df268d237cf9e07c3e0e7c251515669a7919a4e.tar.bz2
nixlib-4df268d237cf9e07c3e0e7c251515669a7919a4e.tar.lz
nixlib-4df268d237cf9e07c3e0e7c251515669a7919a4e.tar.xz
nixlib-4df268d237cf9e07c3e0e7c251515669a7919a4e.tar.zst
nixlib-4df268d237cf9e07c3e0e7c251515669a7919a4e.zip
ncurses: patch wrong st-0.7 terminfo
Diffstat (limited to 'pkgs/development/libraries/ncurses/default.nix')
-rw-r--r--pkgs/development/libraries/ncurses/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix
index 0cb69f937564..861b387a993a 100644
--- a/pkgs/development/libraries/ncurses/default.nix
+++ b/pkgs/development/libraries/ncurses/default.nix
@@ -21,7 +21,9 @@ stdenv.mkDerivation rec {
     sha256 = "05qdmbmrrn88ii9f66rkcmcyzp1kb1ymkx7g040lfkd1nkp7w1da";
   };
 
-  patches = lib.optional (!stdenv.cc.isClang) ./clang.patch;
+  # The patch st-0.7.patch needs to be removed, if ncurses is upgraded in the future.
+  # It is necessary for the 6.1 version of ncurses.
+  patches = [ ./st-0.7.patch ] ++ lib.optional (!stdenv.cc.isClang) ./clang.patch;
 
   outputs = [ "out" "dev" "man" ];
   setOutputFlags = false; # some aren't supported