python3Packages.qiskit-ignis: fixup

This commit is contained in:
Drew Risinger 2020-05-11 17:32:41 -04:00 committed by Jon
parent d1adc1e55a
commit 512e77a30f

View File

@ -3,6 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, python
, numpy
, qiskit-terra
, scikitlearn
@ -38,11 +39,12 @@ buildPythonPackage rec {
scikitlearn
scipy
];
postInstall = "rm -rf $out/${python.sitePackages}/docs"; # this dir can create conflicts
# Tests
pythonImportsCheck = [ "qiskit.ignis" ];
dontUseSetuptoolsCheck = true;
preCheck = ''export HOME=$TMPDIR'';
preCheck = "export HOME=$TMPDIR";
checkInputs = [
ddt
pytestCheckHook