diff --git a/pkgs/by-name/lp/lpcnet/package.nix b/pkgs/by-name/lp/lpcnet/package.nix index 3737bec91de2..75865e7abb69 100644 --- a/pkgs/by-name/lp/lpcnet/package.nix +++ b/pkgs/by-name/lp/lpcnet/package.nix @@ -5,6 +5,7 @@ fetchurl, cmake, codec2, + sox, }: stdenv.mkDerivation (finalAttrs: { @@ -47,6 +48,13 @@ stdenv.mkDerivation (finalAttrs: { ]; doCheck = true; + nativeCheckInputs = [ + # NOTE: From some reason, the tests pass without this on x86_64-linux, but + # not on aarch64-linux, although the relevant test is not enabled + # conditionally, see: + # https://github.com/drowe67/LPCNet/blob/c8e51ac5e2fe674849cb53e7da44689b572cc246/CMakeLists.txt#L220-L225 + sox + ]; meta = { description = "Experimental Neural Net speech coding for FreeDV";