diff options
Diffstat (limited to 'pkgs/top-level/all-packages.nix')
-rw-r--r-- | pkgs/top-level/all-packages.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d90cabd1f037..ff32fe785933 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15416,15 +15416,17 @@ in nv-codec-headers = callPackage ../development/libraries/nv-codec-headers { }; mkNvidiaContainerPkg = { name, containerRuntimePath, configTemplate, additionalPaths ? [] }: - symlinkJoin { + let + nvidia-container-runtime = callPackage ../applications/virtualization/nvidia-container-runtime { + inherit containerRuntimePath configTemplate; + }; + in symlinkJoin { name = "nvidia-containers-${name}"; paths = [ (callPackage ../applications/virtualization/libnvidia-container { }) - (callPackage ../applications/virtualization/nvidia-container-runtime { - inherit containerRuntimePath configTemplate; - }) + nvidia-container-runtime (callPackage ../applications/virtualization/nvidia-container-toolkit { - inherit containerRuntimePath configTemplate; + inherit nvidia-container-runtime; }) ] ++ additionalPaths; }; |