Merge pull request #108718 from cpcloud/fix-nvidia-docker-version

nvidia-docker: fix VERSION reporting bug
This commit is contained in:
Bernardo Meurer 2021-01-07 21:28:16 +00:00 committed by GitHub
commit f6f4e1f7be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,10 @@ stdenv.mkDerivation rec {
buildPhase = ''
mkdir bin
cp nvidia-docker bin
substituteInPlace bin/nvidia-docker --subst-var-by VERSION ${version}
cp ${libnvidia-container}/bin/nvidia-container-cli bin
cp ${nvidia-container-toolkit}/bin/nvidia-container-{toolkit,runtime-hook} bin
cp ${nvidia-container-runtime}/bin/nvidia-container-runtime bin