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:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.bsd --replace /bin/echo echo
|
||||
substituteInPlace entr.c --replace /bin/cat ${coreutils}/bin/cat
|
||||
substituteInPlace entr.c --replace /usr/bin/clear ${ncurses.dev}/bin/clear
|
||||
substituteInPlace entr.c --replace /usr/bin/clear ${ncurses.out}/bin/clear
|
||||
substituteInPlace entr.1 --replace /bin/cat cat
|
||||
substituteInPlace entr.1 --replace /usr/bin/clear clear
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user