File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,16 @@ buildPythonPackage {
106106 version = crateName . version ;
107107 src = "${ crateWheel } /${ wheelName } " ;
108108 doCheck = false ;
109- pythonImportsCheck = [ "opsqueue" ] ;
109+ pythonImportsCheck = [
110+ "opsqueue"
111+ # Internal: This is the most important one!
112+ "opsqueue.opsqueue_internal"
113+ # Visible:
114+ "opsqueue.producer"
115+ "opsqueue.consumer"
116+ "opsqueue.exceptions"
117+ "opsqueue.common"
118+ ] ;
110119
111120 propagatedBuildInputs = [
112121 cbor2
Original file line number Diff line number Diff line change 1515
1616 crane = import sources . crane { pkgs = final ; } ;
1717 craneLib = crane . overrideToolchain ( pkgs : rustToolchain ) ;
18+ python3 = final . python313 . override { packageOverrides = pythonOverlay ; } ;
1819in
1920{
20- inherit rustToolchain ;
21- opsqueue = final . callPackage ../opsqueue/opsqueue.nix { } ;
21+ inherit rustToolchain python3 ;
22+ python = python3 ;
2223
23- python = prev . python312 . override { packageOverrides = pythonOverlay ; } ;
24+ opsqueue = final . callPackage ../opsqueue/opsqueue.nix { } ;
2425
2526}
You can’t perform that action at this time.
0 commit comments