Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read :extra-paths attribute from aliases #13

Open
terlar opened this issue Nov 28, 2020 · 1 comment
Open

Read :extra-paths attribute from aliases #13

terlar opened this issue Nov 28, 2020 · 1 comment

Comments

@terlar
Copy link

terlar commented Nov 28, 2020

It would be nice if :extra-paths could be read and populated the extraClasspaths by default. Right now you have to manually keep those two in sync.

If I pass in extraClasspaths I would like that to be combined with the :extra-paths from the aliases.
If I have multiple aliases with :extra-paths and use several of these aliases together with the clj2nix command I would also expect all of them to be added.

What do you think?

@hlolli
Copy link
Owner

hlolli commented Dec 16, 2020

I think it could make a good sense. I'm just wondering how this could work when releasing and when developing. Most of the time, the :extra-paths is a relative path to the project's root directory. So when releasing, would this work? I would assume these extra paths needed to be absolute paths going trough the nix store. I'm also not including the :paths values. If we were to add :paths and :extra-paths, we would be getting closer to a complete clojure runtime wrapper, which we could use to start up a clojure project. Which isn't a bad idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants