mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
starsector: fail build if unable to insert required cli args
The `-XX:+UnlockDiagnosticVMOptions -XX:-BytecodeVerificationRemote` cli args are required to run the game on recent java versions. Thus, if unable to insert it, the build should fail.
This commit is contained in:
parent
a5314b94ed
commit
c07cf3d14f
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
|
||||
--replace-fail "./jre_linux/bin/java" "${openjdk}/bin/java" \
|
||||
--replace-fail "./native/linux" "$out/share/starsector/native/linux" \
|
||||
--replace-fail "=." "=\''${XDG_DATA_HOME:-\$HOME/.local/share}/starsector" \
|
||||
--replace-warn "-XX:+CompilerThreadHintNoPreempt" "-XX:+UnlockDiagnosticVMOptions -XX:-BytecodeVerificationRemote -XX:+CMSConcurrentMTEnabled -XX:+DisableExplicitGC" \
|
||||
--replace-fail "-XX:+CompilerThreadHintNoPreempt" "-XX:+UnlockDiagnosticVMOptions -XX:-BytecodeVerificationRemote -XX:+CMSConcurrentMTEnabled -XX:+DisableExplicitGC" \
|
||||
--replace-quiet " -XX:PermSize=192m -XX:MaxPermSize=192m" "" \
|
||||
--replace-fail "com.fs.starfarer.StarfarerLauncher" "\"\$@\" com.fs.starfarer.StarfarerLauncher"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user