dwarf-fortress: fix theme override
This commit is contained in:
parent
2bdec61194
commit
0cd1e6732d
@ -35,8 +35,11 @@ let
|
|||||||
|
|
||||||
fixup = lib.singleton (runCommand "fixup" {} (''
|
fixup = lib.singleton (runCommand "fixup" {} (''
|
||||||
mkdir -p $out/data/init
|
mkdir -p $out/data/init
|
||||||
|
'' + (if (theme != null) then ''
|
||||||
|
cp ${lib.head themePkg}/data/init/init.txt $out/data/init/init.txt
|
||||||
|
'' else ''
|
||||||
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 ''
|
||||||
mkdir -p $out/hack
|
mkdir -p $out/hack
|
||||||
|
|
||||||
# Patch the MD5
|
# Patch the MD5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user