mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
Merge pull request #329212 from philiptaron/pr-272380/fix-nix-2.3.18-eval
{gradle.fetchDeps,shattered-pixel-dungeon}: fix eval on Nix 2.3.18
This commit is contained in:
commit
0ad09cf8b3
@ -123,10 +123,9 @@ let
|
||||
|
||||
fileList = builtins.filter (x: lib.hasPrefix xmlBase x && x != url) (builtins.attrNames finalData);
|
||||
jarPomList = map parseArtifactUrl fileList;
|
||||
sortedJarPomList =
|
||||
lib.sort
|
||||
(a: b: lib.splitVersion a.version < lib.splitVersion b.version)
|
||||
jarPomList;
|
||||
|
||||
sortByVersion = a: b: (builtins.compareVersions a.version b.version) < 0;
|
||||
sortedJarPomList = lib.sort sortByVersion jarPomList;
|
||||
|
||||
uniqueVersionFiles =
|
||||
builtins.map ({ i, x }: x)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user