minecraft: no GPUCache in current directory

This commit is contained in:
oxalica 2020-01-25 16:57:06 +08:00
parent 05626cc86b
commit a84047b0c7
No known key found for this signature in database
GPG Key ID: CED392DE0C483D00

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 = ''