diff options
author | Philipp Riegger <philipp@riegger.name> | 2020-06-03 21:50:58 +0200 |
---|---|---|
committer | Philipp Riegger <philipp@riegger.name> | 2020-06-04 08:27:13 +0200 |
commit | 9eb7b9af36bcc802110abdb707f22aa91e406375 (patch) | |
tree | d451ed9292c2fa2451f0edb1f91cba5ad5eff621 /pkgs/games/factorio | |
parent | b084cf2d3096cd600d0d4d21c733bdb78646ee9a (diff) |
factorio-utils: fix recursive mod dependency resolution
Diffstat (limited to 'pkgs/games/factorio')
-rw-r--r-- | pkgs/games/factorio/utils.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/factorio/utils.nix b/pkgs/games/factorio/utils.nix index 563ece6cb9c2..2764592a3246 100644 --- a/pkgs/games/factorio/utils.nix +++ b/pkgs/games/factorio/utils.nix @@ -5,7 +5,7 @@ with stdenv.lib; { mkModDirDrv = mods: # a list of mod derivations let - recursiveDeps = modDrv: [modDrv] ++ optionals (modDrv.deps == []) (map recursiveDeps modDrv.deps); + recursiveDeps = modDrv: [modDrv] ++ map recursiveDeps modDrv.deps; modDrvs = unique (flatten (map recursiveDeps mods)); in stdenv.mkDerivation { |