about summary refs log tree commit diff
path: root/third_party/overlays/tvl.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-11-25T11·17+0100
committersterni <sternenseemann@systemli.org>2021-11-25T12·19+0100
commit397c3e70b3130e3ee76047725a48bf1a818354e0 (patch)
tree289d7bef131e8b723c2ea6d57eb9a022acaa4e47 /third_party/overlays/tvl.nix
parent750ef6c6934209262cf6dfc00139ca32d08f442d (diff)
chore(3p): bump NixOS channels to 2021-11-24 r/3095
* The API for gradleGen changed which makes our override a bit simpler
  at least.

Change-Id: Ib5d7bc33d30a4545235a8a74eadbb418cd76d1d0
Diffstat (limited to 'third_party/overlays/tvl.nix')
-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 {