Merge pull request #314840 from ereslibre/cdi-fix-egl

hardware/nvidia-container-toolkit: mount `nvidia-driver/share`
This commit is contained in:
Someone 2024-05-28 12:50:40 +00:00 committed by GitHub
commit 93b5069466
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";