shattered-pixel-dungeon: fix evaluation on Nix 2.3.18

To reproduce, run `nix shell nixpkgs#nixVersions.minimum --command nix-build -A shattered-pixel-dungeon`
This commit is contained in:
Philip Taron 2024-07-22 10:36:44 -07:00
parent 27ab0078d8
commit 422f60a992
No known key found for this signature in database

View File

@ -53,7 +53,7 @@ let
keywords = [ "roguelike" "dungeon" "crawler" ]; 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 // { in stdenv.mkDerivation (cleanAttrs // {
inherit pname version src patches postPatch; inherit pname version src patches postPatch;