diff options
author | Johannes Schleifenbaum <johannes@js-webcoding.de> | 2020-02-03 15:13:58 +0100 |
---|---|---|
committer | Johannes Schleifenbaum <johannes@js-webcoding.de> | 2020-02-03 15:48:18 +0100 |
commit | 39ebcc496f3724c3ff007941fa811c67895956ea (patch) | |
tree | 571cef66bb6db89690070856dae02dc0fd569bf6 /pkgs/servers | |
parent | 8663b7b3b519da326f5397f0a889e4f032a5587d (diff) |
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".
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/sql/mariadb/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/sql/mariadb/default.nix b/pkgs/servers/sql/mariadb/default.nix index d451c1dab5c97..c86ed3defbcc2 100644 --- a/pkgs/servers/sql/mariadb/default.nix +++ b/pkgs/servers/sql/mariadb/default.nix @@ -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"; |