dwarf-fortress: Don't check for dfVersion compatability on themes, which lack them.
This commit is contained in:
parent
fb29756259
commit
8c7461a348
|
@ -17,15 +17,15 @@ let
|
||||||
else theme;
|
else theme;
|
||||||
|
|
||||||
# These are in inverse order for first packages to override the next ones.
|
# These are in inverse order for first packages to override the next ones.
|
||||||
pkgs = lib.optional (theme != null) ptheme
|
themePkg = lib.optional (theme != null) ptheme;
|
||||||
++ lib.optional enableDFHack dfhack_
|
pkgs = lib.optional enableDFHack dfhack_
|
||||||
++ lib.optional enableSoundSense soundSense
|
++ lib.optional enableSoundSense soundSense
|
||||||
++ [ dwarf-fortress-original ];
|
++ [ dwarf-fortress-original ];
|
||||||
|
|
||||||
env = buildEnv {
|
env = buildEnv {
|
||||||
name = "dwarf-fortress-env-${dwarf-fortress-original.dfVersion}";
|
name = "dwarf-fortress-env-${dwarf-fortress-original.dfVersion}";
|
||||||
|
|
||||||
paths = pkgs;
|
paths = themePkg ++ pkgs;
|
||||||
pathsToLink = [ "/" "/hack" "/hack/scripts" ];
|
pathsToLink = [ "/" "/hack" "/hack/scripts" ];
|
||||||
ignoreCollisions = true;
|
ignoreCollisions = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue