File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,7 @@ makeScope final.newScope (self: {
161
161
cudaVersionDashes = replaceStrings [ "." ] [ "-" ] cudaMajorMinorVersion ;
162
162
163
163
# Utilities
164
- callPackage = callPackageWith ( final // self // finalCudaPackages ) ;
165
- callPackages = callPackagesWith ( final // self // finalCudaPackages ) ;
164
+ callPackages = callPackagesWith ( pkgs' // pkgs' . nvidia-jetpack // finalCudaPackages ) ;
166
165
cudaAtLeast = versionAtLeast finalCudaPackages . cudaMajorMinorPatchVersion ;
167
166
cudaOlder = versionOlder finalCudaPackages . cudaMajorMinorPatchVersion ;
168
167
inherit ( self ) debs ; # NOTE: The presence of debs is used as a condition in construciton of pkgs'.
@@ -216,7 +215,8 @@ makeScope final.newScope (self: {
216
215
]
217
216
++ _cuda . extensions ) ;
218
217
in
219
- makeScope pkgs' . newScope (
218
+ # NOTE: We must ensure the scope allows us to draw on the contents of nvidia-jetpack.
219
+ makeScope pkgs' . nvidia-jetpack . newScope (
220
220
extends composedExtensions passthruFunction
221
221
) ;
222
222
You can’t perform that action at this time.
0 commit comments