haskell-jsonnet icon indicating copy to clipboard operation
haskell-jsonnet copied to clipboard

Specify an additional library search directory

Open moleike opened this issue 4 years ago • 0 comments

Add a -J / --jpath <dir> option in the cmdline executable to specify additional library search directories, right-most wins.

The additional paths are tried if it fails to load a module relative to the file it's imported from. Here is how's it's done in the C++ implementation: https://github.com/google/jsonnet/blob/master/core/libjsonnet.cpp#L232

moleike avatar Apr 08 '21 03:04 moleike