python3Packages.cirq: fix build
Build was failing because it attempted to find top-level packages. See https://github.com/quantumlib/Cirq/issues/5291
This commit is contained in:
parent
6962697949
commit
9a8b76f789
1 changed files with 9 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
{ buildPythonPackage
|
||||
, fetchpatch
|
||||
, cirq-aqt
|
||||
, cirq-core
|
||||
, cirq-google
|
||||
|
@ -14,6 +15,14 @@ buildPythonPackage rec {
|
|||
pname = "cirq";
|
||||
inherit (cirq-core) version src meta;
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/quantumlib/Cirq/commit/b832db606e5f1850b1eda168a6d4a8e77d8ec711.patch";
|
||||
name = "pr-5330-prevent-implicit-packages.patch";
|
||||
sha256 = "sha256-HTEH3fFxPiBedaz5GxZjXayvoiazwHysKZIOzqwZmbg=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cirq-aqt
|
||||
cirq-core
|
||||
|
|
Loading…
Reference in a new issue