mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
dwarf-fortress: fix most of customization options
see #49779 close #49803
This commit is contained in:
parent
d9f8cf734e
commit
290dd06d14
@ -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 ''
|
||||
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user