diff options
author | Robert Scott <code@humanleg.org.uk> | 2019-09-07 12:53:22 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2019-09-07 12:53:55 +0100 |
commit | 5e0ec5a7533730ff748ca9545c6b7746cf156a93 (patch) | |
tree | f6dfcfee150b26c7be0ae1619c6972a0616ba3d5 /pkgs/development | |
parent | daebef59d6a232e813eadb59bbd26a74a1221c23 (diff) | |
download | nixlib-5e0ec5a7533730ff748ca9545c6b7746cf156a93.tar nixlib-5e0ec5a7533730ff748ca9545c6b7746cf156a93.tar.gz nixlib-5e0ec5a7533730ff748ca9545c6b7746cf156a93.tar.bz2 nixlib-5e0ec5a7533730ff748ca9545c6b7746cf156a93.tar.lz nixlib-5e0ec5a7533730ff748ca9545c6b7746cf156a93.tar.xz nixlib-5e0ec5a7533730ff748ca9545c6b7746cf156a93.tar.zst nixlib-5e0ec5a7533730ff748ca9545c6b7746cf156a93.zip |
pythonPackages.pytest-mpl: fix & enable tests on darwin
dotfile is simply in a different place on macos
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/pytest-mpl/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pytest-mpl/default.nix b/pkgs/development/python-modules/pytest-mpl/default.nix index 37ba58977e15..edf0450366c5 100644 --- a/pkgs/development/python-modules/pytest-mpl/default.nix +++ b/pkgs/development/python-modules/pytest-mpl/default.nix @@ -26,13 +26,11 @@ buildPythonPackage rec { pytest ]; - # disable tests on darwin, because it requires a framework build of Python - doCheck = !stdenv.isDarwin; - checkPhase = '' export HOME=$(mktemp -d) mkdir -p $HOME/.config/matplotlib echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc + ln -s $HOME/.config/matplotlib $HOME/.matplotlib pytest ''; |