diff --git a/pkgs/by-name/zs/zssh/package.nix b/pkgs/by-name/zs/zssh/package.nix index 8d1c933b140a..9e58e7517f0a 100644 --- a/pkgs/by-name/zs/zssh/package.nix +++ b/pkgs/by-name/zs/zssh/package.nix @@ -34,6 +34,9 @@ stdenv.mkDerivation rec { postPatch = '' sed -i 1i'#include ' openpty.c + # readline has renamed the type name + substituteInPlace completion.c \ + --replace-fail CPPFunction rl_completion_func_t ''; # The makefile does not create the directories