From 0012921be39cac15e63ac3d744fd52c2934c512c Mon Sep 17 00:00:00 2001 From: Richard Goulter Date: Thu, 30 May 2024 14:41:35 +0700 Subject: [PATCH] fixup! update nix files to use gradle2nix v2 --- default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/default.nix b/default.nix index 296a0ff..a78dcff 100644 --- a/default.nix +++ b/default.nix @@ -1,5 +1,5 @@ -{pkgs ? import {}}: let - # my fork - gradle2nix = import (fetchTarball "https://github.com/rgoulter/gradle2nix/archive/v2--always-set-gradle-user-home.tar.gz") {}; -in - pkgs.callPackage ./c-worksheet-instrumentor.nix {inherit (gradle2nix) buildGradlePackage;} +{ + pkgs ? import {}, + gradle2nix ? import (fetchTarball "https://github.com/rgoulter/gradle2nix/archive/v2--always-set-gradle-user-home.tar.gz") {}, +}: +pkgs.callPackage ./c-worksheet-instrumentor.nix {inherit (gradle2nix) buildGradlePackage;}