about summary refs log tree commit diff
path: root/third_party/overlays
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/overlays')
-rw-r--r--third_party/overlays/tvl.nix15
1 files changed, 5 insertions, 10 deletions
diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix
index d1205287762f..0bf301e8e50c 100644
--- a/third_party/overlays/tvl.nix
+++ b/third_party/overlays/tvl.nix
@@ -9,17 +9,12 @@ self: super: {
 
   # Required for apereo-cas
   # TODO(lukegb): Document why?
-  gradle_6 = (super.gradleGen.override {
-    java = self.jdk11;
-    jdk = self.jdk11;
-  }).gradleGen rec {
-    name = "gradle-6.5.1";
+  gradle_6 = self.callPackage (super.gradleGen {
+    version = "6.5.1";
     nativeVersion = "0.22-milestone-3";
-
-    src = builtins.fetchurl {
-      url = "https://services.gradle.org/distributions/${name}-bin.zip";
-      sha256 = "0jmmipjh4fbsn92zpifa5cqg5ws2a4ha0s4jzqhrg4zs542x79sh";
-    };
+    sha256 = "0jmmipjh4fbsn92zpifa5cqg5ws2a4ha0s4jzqhrg4zs542x79sh";
+  }) {
+    java = self.jdk11;
   };
 
   clang-tools_11 = self.clang-tools.override {