nvidia-docker: fix VERSION reporting bug
This commit is contained in:
parent
7ae17783a7
commit
976c3999a2
|
@ -62,7 +62,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir bin
|
mkdir bin
|
||||||
|
|
||||||
cp nvidia-docker bin
|
cp nvidia-docker bin
|
||||||
|
substituteInPlace bin/nvidia-docker --subst-var-by VERSION ${version}
|
||||||
|
|
||||||
cp ${libnvidia-container}/bin/nvidia-container-cli bin
|
cp ${libnvidia-container}/bin/nvidia-container-cli bin
|
||||||
cp ${nvidia-container-toolkit}/bin/nvidia-container-{toolkit,runtime-hook} bin
|
cp ${nvidia-container-toolkit}/bin/nvidia-container-{toolkit,runtime-hook} bin
|
||||||
cp ${nvidia-container-runtime}/bin/nvidia-container-runtime bin
|
cp ${nvidia-container-runtime}/bin/nvidia-container-runtime bin
|
||||||
|
|
Loading…
Reference in New Issue