diff --git a/pkgs/applications/editors/fte/default.nix b/pkgs/applications/editors/fte/default.nix index c2b3229d4523..1c5d1f15ecb8 100644 --- a/pkgs/applications/editors/fte/default.nix +++ b/pkgs/applications/editors/fte/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { }; src = [ ftesrc ftecommon ]; + env.NIX_CFLAGS_COMPILE = "-DHAVE_STRLCAT -DHAVE_STRLCPY"; + buildFlags = [ "PREFIX=$(out)" ]; installFlags = [ "PREFIX=$(out)" "INSTALL_NONROOT=1" ];