From 2b9d712a7198581f59bd69c749100fd08e981639 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 29 May 2022 10:40:53 -0700 Subject: [PATCH] Maybe skip the jar as a build input? --- mkClojureLib.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/mkClojureLib.nix b/mkClojureLib.nix index 748b429..a74576c 100644 --- a/mkClojureLib.nix +++ b/mkClojureLib.nix @@ -21,11 +21,6 @@ let deps = callPackage clj-deps { }; classpath = deps.makeClasspaths { }; - uberjar-script = writeScript "uberjar-builder.rb" '' - ${ruby}/bin/ruby - ${readFile ./resources/uberjar-builder.rb} - ''; - full-name = "${group}-${name}-${version}-standalone.jar"; target = "$TEMP/target"; @@ -35,8 +30,8 @@ in stdenv.mkDerivation { src = src; - nativeBuildInputs = [ jre ]; - buildInputs = [ build-tools-jar ] ++ (map (x: x.paths) deps.packages); + nativeBuildInputs = [ jre clojure ]; + buildInputs = (map (x: x.paths) deps.packages); buildPhase = '' HOME=$TEMP/home