ncurses: move runtime utilities to $out

All the programs provided by ncurses were being installed to the $dev
output, but several of them are intended for runtime use, e.g. to
operate on the running terminal. These user-facing programs are moved to
the $bin output.

Several packages referred to "${ncurses}/bin" or "${ncurses.dev}/bin" at
runtime; these paths are also updated to refer to "${ncurses.bin}/bin".
This commit is contained in:
Thomas Tuegel
2016-03-08 11:35:24 -06:00
parent 3ef7671cea
commit da972b6cc4
6 changed files with 13 additions and 5 deletions
@@ -98,6 +98,14 @@ stdenv.mkDerivation rec {
ln -svf ''${library}$suffix.pc $dev/lib/pkgconfig/$library$newsuffix.pc
done
done
# move some utilities to $bin
# these programs are used at runtime and don't really belong in $dev
moveToOutput "bin/clear" "$out"
moveToOutput "bin/reset" "$out"
moveToOutput "bin/tabs" "$out"
moveToOutput "bin/tput" "$out"
moveToOutput "bin/tset" "$out"
'';
preFixup = ''