Skip to content

Commit

Permalink
mindustry: fix eval error due to NixOS#119444
Browse files Browse the repository at this point in the history
The PR NixOS#119444 broke the build for mindustry
even further. This patch fixes that again so it evals and builds properly.
  • Loading branch information
Mindavi committed Nov 23, 2021
1 parent a77943c commit 4179df3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/games/mindustry/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, copyDesktopItems
, fetchFromGitHub
, gradle_6
, jdk11
, jdk
, perl

# for arc
Expand Down Expand Up @@ -87,8 +87,7 @@ let
popd
'';

jdk = jdk11;
gradle = (gradle_6.override (old: { java = jdk11; }));
gradle = (gradle_6.override (old: { java = jdk; }));

# fake build to pre-download deps into fixed-output derivation
deps = stdenv.mkDerivation {
Expand Down

0 comments on commit 4179df3

Please sign in to comment.