git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #124554 from risicle/ris-python-acoustics-tests-matplotlib-backend

python3Packages.acoustics: fix tests on sandboxed darwin

commite2bedf2a6084b0f3bc52b3912c2e3a11acd49ebd authorSandro <sandro.jaeckel@gmail.com> dateSun 20 Jun 2021, 18:15 (5 years ago) parent5189f68b7da67c
1 file changed+4
pkgs/development/python-modules/acoustics/default.nix+4
pkgs/development/python-modules/acoustics/default.nix+4
@@ -14,6 +14,10 @@ buildPythonPackage rec {
1414 };
1515
1616 checkPhase = ''
17+ export HOME=$TMPDIR
18+ mkdir -p $HOME/.matplotlib
19+ echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
20+
1721 pushd tests
1822 py.test -Wignore::DeprecationWarning ./.
1923 popd