Skip to content

Commit 4d793bc

Browse files
committed
Fix: resolve our source dependencies first in the classpath
1 parent 7153e4d commit 4d793bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nix/mobile/jsbundle/default.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ stdenv.mkDerivation {
6868
buildPhase = ''
6969
# Assemble CLASSPATH from available clojure dependencies.
7070
# We append 'src' so it can find the local sources.
71-
export CLASS_PATH="$(find ${deps.clojure} \
72-
-iname '*.jar' | tr '\n' ':')src"
71+
export CLASS_PATH="src:$(find ${deps.clojure} \
72+
-iname '*.jar' | tr '\n' ':')"
7373
7474
# target must be one of the builds defined in shadow-cljs.edn
7575
java -cp "$CLASS_PATH" clojure.main \

0 commit comments

Comments
 (0)