Maybe skip the jar as a build input?
This commit is contained in:
parent
769658c5b6
commit
2b9d712a71
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue