diff --git a/pkgs/applications/virtualization/nvidia-container-toolkit/0001-Add-dlopen-discoverer.patch b/pkgs/by-name/nv/nvidia-container-toolkit/0001-Add-dlopen-discoverer.patch similarity index 100% rename from pkgs/applications/virtualization/nvidia-container-toolkit/0001-Add-dlopen-discoverer.patch rename to pkgs/by-name/nv/nvidia-container-toolkit/0001-Add-dlopen-discoverer.patch diff --git a/pkgs/applications/virtualization/nvidia-docker/default.nix b/pkgs/by-name/nv/nvidia-container-toolkit/nvidia-docker.nix similarity index 100% rename from pkgs/applications/virtualization/nvidia-docker/default.nix rename to pkgs/by-name/nv/nvidia-container-toolkit/nvidia-docker.nix diff --git a/pkgs/applications/virtualization/nvidia-container-toolkit/default.nix b/pkgs/by-name/nv/nvidia-container-toolkit/package.nix similarity index 100% rename from pkgs/applications/virtualization/nvidia-container-toolkit/default.nix rename to pkgs/by-name/nv/nvidia-container-toolkit/package.nix diff --git a/pkgs/applications/virtualization/nvidia-container-toolkit/packages.nix b/pkgs/by-name/nv/nvidia-container-toolkit/packages.nix similarity index 93% rename from pkgs/applications/virtualization/nvidia-container-toolkit/packages.nix rename to pkgs/by-name/nv/nvidia-container-toolkit/packages.nix index 0ce76d5aed31..c78b6b1c2834 100644 --- a/pkgs/applications/virtualization/nvidia-container-toolkit/packages.nix +++ b/pkgs/by-name/nv/nvidia-container-toolkit/packages.nix @@ -29,7 +29,7 @@ lib.makeScope newScope ( ldconfig = "@@glibcbin@/bin/ldconfig"; }; }; - nvidia-container-toolkit-docker = self.callPackage ./. { + nvidia-container-toolkit-docker = self.callPackage ./package.nix { containerRuntimePath = "${docker}/libexec/docker/docker"; configTemplate = self.dockerConfig; }; @@ -65,7 +65,8 @@ lib.makeScope newScope ( ]; inherit (self.nvidia-docker-unwrapped) meta; }; - nvidia-docker-unwrapped = self.callPackage ../nvidia-docker { }; + nvidia-docker-unwrapped = + self.callPackage ./nvidia-docker.nix { }; nvidia-podman = symlinkJoin { name = "nvidia-podman"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6c4c2a20b25a..4f580d8e3984 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24067,10 +24067,8 @@ with pkgs; nv-codec-headers-11 = callPackage ../development/libraries/nv-codec-headers/11_x.nix { }; nv-codec-headers-12 = callPackage ../development/libraries/nv-codec-headers/12_x.nix { }; - nvidia-container-toolkit = callPackage ../applications/virtualization/nvidia-container-toolkit { }; - nvidiaCtkPackages = - callPackage ../applications/virtualization/nvidia-container-toolkit/packages.nix + callPackage ../by-name/nv/nvidia-container-toolkit/packages.nix { }; inherit (nvidiaCtkPackages) nvidia-docker