nvidia-container-toolkit: move to by-name structure

This commit is contained in:
Rafael Fernández López 2024-02-17 18:16:22 +01:00
parent 8ba61ebb8a
commit 6ac6aab199
5 changed files with 4 additions and 5 deletions

View file

@ -29,7 +29,7 @@ lib.makeScope newScope (
ldconfig = "@@glibcbin@/bin/ldconfig"; ldconfig = "@@glibcbin@/bin/ldconfig";
}; };
}; };
nvidia-container-toolkit-docker = self.callPackage ./. { nvidia-container-toolkit-docker = self.callPackage ./package.nix {
containerRuntimePath = "${docker}/libexec/docker/docker"; containerRuntimePath = "${docker}/libexec/docker/docker";
configTemplate = self.dockerConfig; configTemplate = self.dockerConfig;
}; };
@ -65,7 +65,8 @@ lib.makeScope newScope (
]; ];
inherit (self.nvidia-docker-unwrapped) meta; inherit (self.nvidia-docker-unwrapped) meta;
}; };
nvidia-docker-unwrapped = self.callPackage ../nvidia-docker { }; nvidia-docker-unwrapped =
self.callPackage ./nvidia-docker.nix { };
nvidia-podman = symlinkJoin { nvidia-podman = symlinkJoin {
name = "nvidia-podman"; name = "nvidia-podman";

View file

@ -24067,10 +24067,8 @@ with pkgs;
nv-codec-headers-11 = callPackage ../development/libraries/nv-codec-headers/11_x.nix { }; 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 { }; nv-codec-headers-12 = callPackage ../development/libraries/nv-codec-headers/12_x.nix { };
nvidia-container-toolkit = callPackage ../applications/virtualization/nvidia-container-toolkit { };
nvidiaCtkPackages = nvidiaCtkPackages =
callPackage ../applications/virtualization/nvidia-container-toolkit/packages.nix callPackage ../by-name/nv/nvidia-container-toolkit/packages.nix
{ }; { };
inherit (nvidiaCtkPackages) inherit (nvidiaCtkPackages)
nvidia-docker nvidia-docker