diff --git a/pkgs/development/python-modules/cirq-core/default.nix b/pkgs/development/python-modules/cirq-core/default.nix index 862b698762e7..999954614b91 100644 --- a/pkgs/development/python-modules/cirq-core/default.nix +++ b/pkgs/development/python-modules/cirq-core/default.nix @@ -49,10 +49,7 @@ buildPythonPackage rec { sourceRoot = "${src.name}/${pname}"; - postPatch = '' - substituteInPlace requirements.txt \ - --replace-fail "matplotlib~=3.0" "matplotlib" - ''; + pythonRelaxDeps = [ "matplotlib" ]; build-system = [ setuptools ];