mbrola: fix cross compilation

This commit is contained in:
Nick Cao 2022-01-07 09:43:07 +08:00
parent 8aeafc25c9
commit 0b0f051eef
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
sha256 = "1w86gv6zs2cbr0731n49z8v6xxw0g8b0hzyv2iqb9mqcfh38l8zy";
};
# required for cross compilation
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = ''
runHook preInstall
install -D Bin/mbrola $out/bin/mbrola