nvidia-docker: fix VERSION reporting bug

This commit is contained in:
Phillip Cloud 2021-01-07 15:56:08 -05:00
parent 7ae17783a7
commit 976c3999a2

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