Skip to content

Commit

Permalink
Merge pull request NixOS#89440 from priegger/fix/factorio-mkModDirDrv
Browse files Browse the repository at this point in the history
factorio-utils: fix recursive mod dependency resolution
  • Loading branch information
NickHu committed Jun 9, 2020
2 parents de94d7a + 9eb7b9a commit a505e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/games/factorio/utils.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a505e9d

Please sign in to comment.