Merge pull request #78456 from oxalica/mc-move-to-tmp

minecraft: no `GPUCache` in current directory
This commit is contained in:
Ryan Mulligan 2020-01-25 11:34:05 -08:00 committed by GitHub
commit ac35673af1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,8 @@ in
makeWrapper $out/opt/minecraft-launcher/minecraft-launcher $out/bin/minecraft-launcher \
--prefix LD_LIBRARY_PATH : ${envLibPath} \
--prefix PATH : ${stdenv.lib.makeBinPath [ jre ]}
--prefix PATH : ${stdenv.lib.makeBinPath [ jre ]} \
--run "cd /tmp" # Do not create `GPUCache` in current directory
'';
preFixup = ''