fte: fix build

This commit is contained in:
Alexandru Scvortov 2023-10-25 17:45:57 +01:00
parent 3fbda64514
commit ab9cdcb39c

View File

@ -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" ];