1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-10 01:53:09 +09:00

virtualisation/docker: fix nvidia container wrapper (#407290)

This commit is contained in:
Someone 2025-05-27 09:34:51 +00:00 committed by GitHub
commit 57390c8b91
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -355,7 +355,7 @@ in
# the `--runtime=nvidia` approach to expose
# GPU's. Starting with Docker > 25, CDI can be used
# instead, removing the need for runtime wrappers.
path = lib.getExe' pkgs.nvidia-docker "nvidia-container-runtime.legacy";
path = lib.getExe' (lib.getOutput "tools" config.hardware.nvidia-container-toolkit.package) "nvidia-container-runtime";
};
};
};