diff options
author | rafaelrc7 <contact@rafaelrc.com> | 2024-03-21 22:18:30 -0300 |
---|---|---|
committer | rafaelrc7 <contact@rafaelrc.com> | 2024-03-21 22:18:30 -0300 |
commit | c07cf3d14f34258f6b8050d78f0f9b9998bcf0fc (patch) | |
tree | 12fa7011f55fcfa882428a1437bd015a1bffcc90 | |
parent | a5314b94ed4f6d864e478f264dce77632b55995a (diff) |
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.
-rw-r--r-- | pkgs/games/starsector/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/starsector/default.nix b/pkgs/games/starsector/default.nix index 6a8831211627f..8e38f232f21e9 100644 --- a/pkgs/games/starsector/default.nix +++ b/pkgs/games/starsector/default.nix @@ -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" ''; |