diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-23 22:40:08 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-26 21:55:10 -0400 |
commit | 63831c398a1d9f4cca0d39c723347f15447b9f16 (patch) | |
tree | 35ba4a4f41e10269e998545f34e7b51234106689 /pkgs/development/libraries/science/math | |
parent | 698ff7855d4c1be3b1711fb0811e6d63f930dcf3 (diff) | |
download | nixpkgs-63831c398a1d9f4cca0d39c723347f15447b9f16.tar nixpkgs-63831c398a1d9f4cca0d39c723347f15447b9f16.tar.gz nixpkgs-63831c398a1d9f4cca0d39c723347f15447b9f16.tar.bz2 nixpkgs-63831c398a1d9f4cca0d39c723347f15447b9f16.tar.lz nixpkgs-63831c398a1d9f4cca0d39c723347f15447b9f16.tar.xz nixpkgs-63831c398a1d9f4cca0d39c723347f15447b9f16.tar.zst nixpkgs-63831c398a1d9f4cca0d39c723347f15447b9f16.zip |
python-fenics: put pytest in nativeBuildInputs
Diffstat (limited to 'pkgs/development/libraries/science/math')
-rw-r--r-- | pkgs/development/libraries/science/math/fenics/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/libraries/science/math/fenics/default.nix b/pkgs/development/libraries/science/math/fenics/default.nix index 1825a6f1bb2..4e3e47c5415 100644 --- a/pkgs/development/libraries/science/math/fenics/default.nix +++ b/pkgs/development/libraries/science/math/fenics/default.nix @@ -35,10 +35,15 @@ let url = "https://bitbucket.org/fenics-project/dijitso/downloads/dijitso-${version}.tar.gz"; sha256 = "0mw6mynjmg6yl3l2k33yra2x84s4r6mh44ylhk9znjfk74jra8zg"; }; - buildInputs = [ numpy pytest six ]; - checkPhase = '' + buildInputs = [ numpy six ]; + nativeBuildInputs = [ pytest ]; + preCheck = '' export HOME=$PWD + ''; + checkPhase = '' + runHook preCheck py.test test/ + runHook postCheck ''; meta = { description = "Distributed just-in-time shared library building"; |