diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/taoup/tput.patch')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/taoup/tput.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/taoup/tput.patch b/nixpkgs/pkgs/tools/misc/taoup/tput.patch new file mode 100644 index 000000000000..5c82024885bf --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/taoup/tput.patch @@ -0,0 +1,17 @@ +--- a/taoup 2021-09-05 12:43:48.334615538 +0800 ++++ b/taoup 2021-09-05 12:55:07.631617799 +0800 +@@ -26,11 +26,9 @@ + zero_colors = true + fortunify = true + else +- if `which tput` then +- colors = `tput colors` +- if colors.chop == "-1" then +- zero_colors = true +- end ++ colors = `@ncurses@/bin/tput colors` ++ if colors.chop == "-1" then ++ zero_colors = true + end + end + if ARGV[0] == '--whitetrash' then |