-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
nim-lang/Nim
#16925Description
@alaviss
continuation of #22 (comment) to avoid mingling unrelated topics
instead of copyDir(distDir / "fusion" / "src" / "fusion", "lib" / "fusion"), we should probably use the usual nimble logic which allows adding import dirs to nim's --path, so that nimble develop fusion works as intended (NIMBLE_DIR=customdir can always be used during bootstrap to avoid user's environment messing up with bootstrap)
I decided against this and make use of copyDir simply because nimble does not support "system-installed" dependencies. Also it's widely incompatible with how Linux distributions package Nim, so unless we got those sorted out copying is the foolproof way.
- wouldn't
NIMBLE_DIR=pathto/Nim/dist
work? - if not, why not add
--path:dist/fusion/src
to Nim/config/nim.cfg ?
if the sources are there it'll pick them up, else, it will be a noop
Metadata
Metadata
Assignees
Labels
No labels