nvidia-container-toolkit: disable create-symlinks hook
This fixes the problem of not being able to run containers mounting the `/nix` directory within the container (used extensively for example by tools like `distrobox`)
This commit is contained in:
@@ -37,6 +37,7 @@ writeScriptBin "nvidia-cdi-generator" ''
|
||||
}
|
||||
--discovery-mode ${discovery-mode} \
|
||||
--device-name-strategy ${device-name-strategy} \
|
||||
--disable-hook create-symlinks \
|
||||
--ldconfig-path ${lib.getExe' glibc "ldconfig"} \
|
||||
--library-search-path ${lib.getLib nvidia-driver}/lib \
|
||||
--nvidia-cdi-hook-path ${lib.getOutput "tools" nvidia-container-toolkit}/bin/nvidia-cdi-hook \
|
||||
|
||||
Reference in New Issue
Block a user