···2121 sha256 = "05qdmbmrrn88ii9f66rkcmcyzp1kb1ymkx7g040lfkd1nkp7w1da";
2222 };
23232424- patches = lib.optional (!stdenv.cc.isClang) ./clang.patch;
2424+ # The patch st-0.7.patch needs to be removed, if ncurses is upgraded in the future.
2525+ # It is necessary for the 6.1 version of ncurses.
2626+ patches = [ ./st-0.7.patch ] ++ lib.optional (!stdenv.cc.isClang) ./clang.patch;
25272628 outputs = [ "out" "dev" "man" ];
2729 setOutputFlags = false; # some aren't supported