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