diff --git a/mkClojureLib.nix b/mkClojureLib.nix index 0cd849c..de63b4a 100644 --- a/mkClojureLib.nix +++ b/mkClojureLib.nix @@ -34,12 +34,15 @@ 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} $BHOME/deps.edn clojure \ -Scp .:${build-tools-jar}:${classpath} \ - -Sdeps ${build-tools-deps}/deps.edn \ + -Sdeps $BHOME/deps.edn \ -X:build \ lib-uberjar \ :project ${group}/${name} \