mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
dwarf-fortress: fix theme override
This commit is contained in:
parent
2bdec61194
commit
0cd1e6732d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user