Maybe skip the jar as a build input?

This commit is contained in:
niten 2022-05-29 10:40:53 -07:00
parent 769658c5b6
commit 2b9d712a71
1 changed files with 2 additions and 7 deletions

View File

@ -21,11 +21,6 @@ let
deps = callPackage clj-deps { }; deps = callPackage clj-deps { };
classpath = deps.makeClasspaths { }; classpath = deps.makeClasspaths { };
uberjar-script = writeScript "uberjar-builder.rb" ''
${ruby}/bin/ruby
${readFile ./resources/uberjar-builder.rb}
'';
full-name = "${group}-${name}-${version}-standalone.jar"; full-name = "${group}-${name}-${version}-standalone.jar";
target = "$TEMP/target"; target = "$TEMP/target";
@ -35,8 +30,8 @@ in stdenv.mkDerivation {
src = src; src = src;
nativeBuildInputs = [ jre ]; nativeBuildInputs = [ jre clojure ];
buildInputs = [ build-tools-jar ] ++ (map (x: x.paths) deps.packages); buildInputs = (map (x: x.paths) deps.packages);
buildPhase = '' buildPhase = ''
HOME=$TEMP/home HOME=$TEMP/home