0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

Merge pull request #315347 from NixOS/backport-314840-to-release-24.05

[Backport release-24.05] hardware/nvidia-container-toolkit: mount `nvidia-driver/share`
This commit is contained in:
Someone 2024-05-28 20:32:58 +00:00 committed by GitHub
commit 8872b57bcd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,6 +77,10 @@
in (lib.mkMerge [
[{ hostPath = pkgs.addDriverRunpath.driverLink;
containerPath = pkgs.addDriverRunpath.driverLink; }
{ hostPath = "${lib.getLib nvidia-driver}/etc";
containerPath = "${lib.getLib nvidia-driver}/etc"; }
{ hostPath = "${lib.getLib nvidia-driver}/share";
containerPath = "${lib.getLib nvidia-driver}/share"; }
{ hostPath = "${lib.getLib pkgs.glibc}/lib";
containerPath = "${lib.getLib pkgs.glibc}/lib"; }
{ hostPath = "${lib.getLib pkgs.glibc}/lib64";