We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d16cd0 commit 629a5efCopy full SHA for 629a5ef
nix/mobile/jsbundle/default.nix
@@ -67,7 +67,10 @@ stdenv.mkDerivation {
67
'';
68
buildPhase = ''
69
# Assemble CLASSPATH from available clojure dependencies.
70
- # We append 'src' so it can find the local sources.
+ # We prepend 'src' so it can find the local sources and prioritize
71
+ # our own namespaces over dependencies, given that indirect dependencies
72
+ # can also cause naming conflicts (e.g. prismatic/schema already uses
73
+ # namespace schema.core).
74
export CLASS_PATH="src:$(find ${deps.clojure} \
75
-iname '*.jar' | tr '\n' ':')"
76
0 commit comments