diff --git a/pkgs/games/shattered-pixel-dungeon/generic.nix b/pkgs/games/shattered-pixel-dungeon/generic.nix index 7f2f3a14a4d2..3e81c54bba91 100644 --- a/pkgs/games/shattered-pixel-dungeon/generic.nix +++ b/pkgs/games/shattered-pixel-dungeon/generic.nix @@ -53,7 +53,7 @@ let keywords = [ "roguelike" "dungeon" "crawler" ]; }; - depsPath' = if depsPath != null then depsPath else ./${pname}/deps.json; + depsPath' = if depsPath != null then depsPath else ./. + "/${pname}/deps.json"; in stdenv.mkDerivation (cleanAttrs // { inherit pname version src patches postPatch;