Skip to content

Commit

Permalink
WIP Fix: resolve our source dependencies first in the classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmotta committed Nov 15, 2023
1 parent 292a6ad commit 24f4f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/mobile/jsbundle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ stdenv.mkDerivation {
buildPhase = ''
# Assemble CLASSPATH from available clojure dependencies.
# We append 'src' so it can find the local sources.
export CLASS_PATH="$(find ${deps.clojure} \
-iname '*.jar' | tr '\n' ':')src"
export CLASS_PATH="src:$(find ${deps.clojure} \
-iname '*.jar' | tr '\n' ':')"
# target must be one of the builds defined in shadow-cljs.edn
java -cp "$CLASS_PATH" clojure.main \
Expand Down

0 comments on commit 24f4f15

Please sign in to comment.