diff options
Diffstat (limited to 'pkgs/development/python-modules/atomman/default.nix')
-rw-r--r-- | pkgs/development/python-modules/atomman/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/atomman/default.nix b/pkgs/development/python-modules/atomman/default.nix index ca2075cab7a30..f7255f5483fa2 100644 --- a/pkgs/development/python-modules/atomman/default.nix +++ b/pkgs/development/python-modules/atomman/default.nix @@ -20,6 +20,7 @@ , setuptools , toolz , xmltodict +, pythonRelaxDepsHook }: buildPythonPackage rec { @@ -38,6 +39,7 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools + pythonRelaxDepsHook ]; propagatedBuildInputs = [ @@ -54,6 +56,8 @@ buildPythonPackage rec { xmltodict ]; + pythonRelaxDeps = [ "potentials" ]; + preCheck = '' # By default, pytestCheckHook imports atomman from the current directory # instead of from where `pip` installs it and fails due to missing Cython |