Skip to content

Commit

Permalink
dwarf-fortress: fix most of customization options
Browse files Browse the repository at this point in the history
  • Loading branch information
Lassulus authored and bendlas committed Nov 6, 2018
1 parent d9f8cf7 commit 290dd06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/games/dwarf-fortress/wrapper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let
++ lib.optional enableTWBT twbt.art
++ [ dwarf-fortress ];

fixup = lib.singleton (runCommand "fixup" {} ''
fixup = lib.singleton (runCommand "fixup" {} (''
mkdir -p $out/data/init
cp ${dwarf-fortress}/data/init/init.txt $out/data/init/init.txt
'' + lib.optionalString enableDFHack ''
Expand All @@ -60,7 +60,7 @@ let
--replace '[INTRO:YES]' '[INTRO:${unBool enableIntro}]' \
--replace '[TRUETYPE:YES]' '[TRUETYPE:${unBool enableTruetype}]' \
--replace '[FPS:NO]' '[FPS:${unBool enableFPS}]'
'');
''));

env = buildEnv {
name = "dwarf-fortress-env-${dwarf-fortress.dfVersion}";
Expand Down

0 comments on commit 290dd06

Please sign in to comment.