mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 10:02:36 +09:00
virtualisation/docker: fix nvidia container wrapper (#407290)
This commit is contained in:
commit
57390c8b91
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ in
|
||||||
# the `--runtime=nvidia` approach to expose
|
# the `--runtime=nvidia` approach to expose
|
||||||
# GPU's. Starting with Docker > 25, CDI can be used
|
# GPU's. Starting with Docker > 25, CDI can be used
|
||||||
# instead, removing the need for runtime wrappers.
|
# 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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue