3
0
Fork 0
forked from mirrors/nixpkgs

dwarf-fortress: set PRINT_MODE:STANDARD on macOS

Fixes https://github.com/NixOS/nixpkgs/issues/204851
This commit is contained in:
Naïm Favier 2023-01-24 13:55:01 +01:00
parent 1b1f50645a
commit ac0d4f035f
No known key found for this signature in database
GPG key ID: 95AFCE8211908325

View file

@ -56,7 +56,11 @@ let
settings_ = lib.recursiveUpdate {
init = {
PRINT_MODE = if enableTextMode then "TEXT" else if enableTWBT then "TWBT" else null;
PRINT_MODE =
if enableTextMode then "TEXT"
else if enableTWBT then "TWBT"
else if stdenv.hostPlatform.isDarwin then "STANDARD" # https://www.bay12games.com/dwarves/mantisbt/view.php?id=11680
else null;
INTRO = enableIntro;
TRUETYPE = enableTruetype;
FPS = enableFPS;