dwarf-fortress: fix theme override

This commit is contained in:
lassulus 2018-11-07 20:56:32 +01:00 committed by Herwig Hochleitner
parent 2bdec61194
commit 0cd1e6732d

View File

@ -35,8 +35,11 @@ let
fixup = lib.singleton (runCommand "fixup" {} (''
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
'' + lib.optionalString enableDFHack ''
'') + lib.optionalString enableDFHack ''
mkdir -p $out/hack
# Patch the MD5