diff options
Diffstat (limited to 'pkgs/tools/games/slipstream/default.nix')
-rw-r--r-- | pkgs/tools/games/slipstream/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/tools/games/slipstream/default.nix b/pkgs/tools/games/slipstream/default.nix index 7be7983a2501e..f1fa38f893f89 100644 --- a/pkgs/tools/games/slipstream/default.nix +++ b/pkgs/tools/games/slipstream/default.nix @@ -1,8 +1,6 @@ { lib, fetchFromGitHub, makeWrapper, maven, jdk }: -let - mavenWithJdk = maven.override { inherit jdk; }; -in -mavenWithJdk.buildMavenPackage rec { + +maven.buildMavenPackage rec { pname = "slipstream"; version = "1.9.1"; @@ -13,7 +11,8 @@ mavenWithJdk.buildMavenPackage rec { hash = "sha256-F+o94Oh9qxVdfgwdmyOv+WZl1BjQuzhQWaVrAgScgIU="; }; - mvnHash = "sha256-zqXbLnLmTZHzwH+vgGASR7Jsz1t173DmQMIe2R6B6Ic="; + mvnJdk = jdk; + mvnHash = "sha256-woOSkF5TuzaJ84EndryMoXTMbbK/V/BShM1k+WB8D/c="; nativeBuildInputs = [ makeWrapper ]; |