praat: fix cross-compilation

This commit is contained in:
Rick van Schijndel 2022-05-22 23:27:19 +02:00
parent 107b6041bc
commit 55b1550473

View File

@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
cp makefiles/makefile.defs.linux.pulse makefile.defs
'';
makeFlags = [
"AR=${stdenv.cc.targetPrefix}ar"
];
installPhase = ''
install -Dt $out/bin praat
'';