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 { };
|
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
|
||||||
|
|
Loading…
Reference in New Issue