Open GuillaumeDesforges opened 2 weeks ago
I think this falls under package management (#1585). I've been working on a prototype (#1903), but there are still a bunch of design questions. I'm writing a summary, and I'll post it as a discussion when it's done.
If your users are ok with using a nix shell, the easiest solution that works right now is to use the nix shell to put the git repo in the nix store, and then set NICKEL_IMPORT_PATH
I've ended up downloading and copying files.
Is your feature request related to a problem? Please describe. I would like users of my tool to use contracts I've written and share in a git repository on GitHub.
Describe the solution you'd like I'm fine with builtins to fetch (like Nix)
or asking them to run a command.
Describe alternatives you've considered I'm about to write my own bash script that will copy from remote to a
.nickel/
folder, so user can thenimport ".nickel/foo.ncl"