diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-12-08 21:12:17 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2021-12-14 12:04:47 -0800 |
commit | 8b6c077a2c7d6ed74fe1cb894a47eb707058a5e1 (patch) | |
tree | a9bd2797c340d4070357c8a8c0ec982ea4baa225 /pkgs/development/python-modules/astropy-extension-helpers | |
parent | e7fbe79667d49ea21151de62ff1c4f75d74088f8 (diff) | |
download | nixpkgs-8b6c077a2c7d6ed74fe1cb894a47eb707058a5e1.tar nixpkgs-8b6c077a2c7d6ed74fe1cb894a47eb707058a5e1.tar.gz nixpkgs-8b6c077a2c7d6ed74fe1cb894a47eb707058a5e1.tar.bz2 nixpkgs-8b6c077a2c7d6ed74fe1cb894a47eb707058a5e1.tar.lz nixpkgs-8b6c077a2c7d6ed74fe1cb894a47eb707058a5e1.tar.xz nixpkgs-8b6c077a2c7d6ed74fe1cb894a47eb707058a5e1.tar.zst nixpkgs-8b6c077a2c7d6ed74fe1cb894a47eb707058a5e1.zip |
python3Packages.astropy-extension-helpers: fix build
Diffstat (limited to 'pkgs/development/python-modules/astropy-extension-helpers')
-rw-r--r-- | pkgs/development/python-modules/astropy-extension-helpers/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/astropy-extension-helpers/default.nix b/pkgs/development/python-modules/astropy-extension-helpers/default.nix index bd9dca338fc..a3ea5cd4cf2 100644 --- a/pkgs/development/python-modules/astropy-extension-helpers/default.nix +++ b/pkgs/development/python-modules/astropy-extension-helpers/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, findutils , pytestCheckHook }: @@ -16,7 +17,12 @@ buildPythonPackage rec { patches = [ ./permissions.patch ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ findutils pytestCheckHook ]; + + # avoid import mismatch errors, as conftest.py is copied to build dir + pytestFlagsArray = [ + "extension_helpers" + ]; pythonImportsCheck = [ "extension_helpers" |