diff options
author | Robert Scott <code@humanleg.org.uk> | 2019-09-07 12:50:47 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2019-09-07 12:53:55 +0100 |
commit | daebef59d6a232e813eadb59bbd26a74a1221c23 (patch) | |
tree | e7aea5cc50eafdf567ec659ca4d2a9678b217513 /pkgs/development/python-modules/colorcet | |
parent | 4149a662a7864c24c705dcd2b0bbd7ad95950d3d (diff) |
pythonPackages.colorcet: fix & enable all tests on darwin
dotfile is simply in a different place on macos
Diffstat (limited to 'pkgs/development/python-modules/colorcet')
-rw-r--r-- | pkgs/development/python-modules/colorcet/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/colorcet/default.nix b/pkgs/development/python-modules/colorcet/default.nix index f92f8004ac00e..b877c4cabd5f7 100644 --- a/pkgs/development/python-modules/colorcet/default.nix +++ b/pkgs/development/python-modules/colorcet/default.nix @@ -34,9 +34,9 @@ buildPythonPackage rec { export HOME=$(mktemp -d) mkdir -p $HOME/.config/matplotlib echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc + ln -s $HOME/.config/matplotlib $HOME/.matplotlib - # disable matplotlib tests on darwin, because it requires a framework build of Python - pytest ${stdenv.lib.optionalString stdenv.isDarwin "--ignore=colorcet/tests/test_matplotlib.py"} colorcet + pytest colorcet ''; meta = with stdenv.lib; { |