mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
mariadb: mytop add "clear" to PATH
The following error was printed every second: Can't exec "clear": Not a directory at /nix/store/.../bin/.mytop-wrapped line 110. Use of uninitialized value $CLEAR in string at /nix/store/.../bin/.mytop-wrapped line 781. Therefore the mytop output was repeatedly displayed instead of updating itself "in-place".
This commit is contained in:
parent
8663b7b3b5
commit
39ebcc496f
|
@ -194,7 +194,7 @@ server = stdenv.mkDerivation (common // {
|
|||
|
||||
# perlPackages.DBDmysql is broken on darwin
|
||||
postFixup = optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||
wrapProgram $out/bin/mytop --set PATH ${less}/bin/less
|
||||
wrapProgram $out/bin/mytop --set PATH ${makeBinPath [ less ncurses ]}
|
||||
'';
|
||||
|
||||
CXXFLAGS = optionalString stdenv.hostPlatform.isi686 "-fpermissive";
|
||||
|
|
Loading…
Reference in a new issue