parent
2b9d712a71
commit
c81571ca2d
|
@ -18,8 +18,7 @@ let
|
|||
}
|
||||
'';
|
||||
|
||||
deps = callPackage clj-deps { };
|
||||
classpath = deps.makeClasspaths { };
|
||||
classpath = clj-deps.makeClasspaths { };
|
||||
|
||||
full-name = "${group}-${name}-${version}-standalone.jar";
|
||||
|
||||
|
@ -30,8 +29,8 @@ in stdenv.mkDerivation {
|
|||
|
||||
src = src;
|
||||
|
||||
nativeBuildInputs = [ jre clojure ];
|
||||
buildInputs = (map (x: x.paths) deps.packages);
|
||||
nativeBuildInputs = [ clojure ];
|
||||
buildInputs = (map (x: x.paths) clj-deps.packages);
|
||||
|
||||
buildPhase = ''
|
||||
HOME=$TEMP/home
|
||||
|
@ -41,7 +40,7 @@ in stdenv.mkDerivation {
|
|||
clojure \
|
||||
-Scp ${classpath} \
|
||||
-Sdeps ${build-tools-deps} \
|
||||
-T:build \
|
||||
-X:build \
|
||||
lib-uberjar \
|
||||
:project ${group}/${name} \
|
||||
:version ${version}" \
|
||||
|
|
Loading…
Reference in New Issue