From c7b5a45512abde280afe21b3ea6eb1f6531c16de Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 29 May 2022 10:55:18 -0700 Subject: [PATCH] Maybe java doesn't like the long path? --- mkClojureLib.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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} \