libopus: fix build

This commit is contained in:
Mario Rodas 2023-06-11 06:24:48 -05:00 committed by Emery Hemingway
parent b5b56fecff
commit e2645f1aaf

View file

@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-ybMrQlO+WuY9H/Fu6ga5S18PKVG3oCrO71jjo85JxR8=";
};
postPatch = ''
patchShebangs meson/
'';
outputs = [ "out" "dev" ];
nativeBuildInputs = [
@ -32,10 +36,6 @@ stdenv.mkDerivation rec {
(lib.mesonEnable "docs" false)
];
preBuild = ''
patchShebangs meson/get-version.py
'';
doCheck = !stdenv.isi686 && !stdenv.isAarch32; # test_unit_LPC_inv_pred_gain fails
meta = with lib; {