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
|
++ lib.optional enableTWBT twbt.art
|
||||||
++ [ dwarf-fortress ];
|
++ [ dwarf-fortress ];
|
||||||
|
|
||||||
fixup = lib.singleton (runCommand "fixup" {} ''
|
fixup = lib.singleton (runCommand "fixup" {} (''
|
||||||
mkdir -p $out/data/init
|
mkdir -p $out/data/init
|
||||||
cp ${dwarf-fortress}/data/init/init.txt $out/data/init/init.txt
|
cp ${dwarf-fortress}/data/init/init.txt $out/data/init/init.txt
|
||||||
'' + lib.optionalString enableDFHack ''
|
'' + lib.optionalString enableDFHack ''
|
||||||
@ -60,7 +60,7 @@ let
|
|||||||
--replace '[INTRO:YES]' '[INTRO:${unBool enableIntro}]' \
|
--replace '[INTRO:YES]' '[INTRO:${unBool enableIntro}]' \
|
||||||
--replace '[TRUETYPE:YES]' '[TRUETYPE:${unBool enableTruetype}]' \
|
--replace '[TRUETYPE:YES]' '[TRUETYPE:${unBool enableTruetype}]' \
|
||||||
--replace '[FPS:NO]' '[FPS:${unBool enableFPS}]'
|
--replace '[FPS:NO]' '[FPS:${unBool enableFPS}]'
|
||||||
'');
|
''));
|
||||||
|
|
||||||
env = buildEnv {
|
env = buildEnv {
|
||||||
name = "dwarf-fortress-env-${dwarf-fortress.dfVersion}";
|
name = "dwarf-fortress-env-${dwarf-fortress.dfVersion}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user