Nah, none of that worked. Revert.
This commit is contained in:
parent
e98168687b
commit
4a480afde0
|
@ -1,9 +1,9 @@
|
|||
{ lib, stdenv, callPackage, clojure, build-tools-jar, writeTextDir }:
|
||||
{ lib, stdenv, callPackage, clojure, build-tools-jar, writeText }:
|
||||
{ src, name, group, version, clj-deps, src-paths }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
build-tools-deps = writeTextDir "deps.edn" ''
|
||||
build-tools-deps = writeText "deps.edn" ''
|
||||
{ :aliases
|
||||
{ :build
|
||||
{ :ns-default build
|
||||
|
@ -34,15 +34,12 @@ in stdenv.mkDerivation {
|
|||
buildPhase = let
|
||||
cmd = ''
|
||||
HOME=$TEMP/home
|
||||
BHOME=$TEMP/build-home
|
||||
mkdir -p $HOME
|
||||
mkdir -p ${target}
|
||||
mkdir -p $BHOME
|
||||
cp ${build-tools-deps}/deps.edn $BHOME/deps.edn
|
||||
|
||||
clojure \
|
||||
-Scp .:${build-tools-jar}:${classpath} \
|
||||
-Sdeps $BHOME/deps.edn \
|
||||
-Sdeps ${build-tool-deps} \
|
||||
-X:build \
|
||||
lib-uberjar \
|
||||
:project ${group}/${name} \
|
||||
|
|
Loading…
Reference in New Issue