mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
virtualisation/docker: fix nvidia container wrapper
This commit is contained in:
parent
e4a89f5cc0
commit
7e42e4431b
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