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

Heavy inputs from emacs-ci #39

Open
terlar opened this issue Jan 7, 2025 · 3 comments
Open

Heavy inputs from emacs-ci #39

terlar opened this issue Jan 7, 2025 · 3 comments

Comments

@terlar
Copy link

terlar commented Jan 7, 2025

I tried using this, but noticed it pulled in all the dependencies from emacs-ci, which includes all Emacs versions. I wonder if this could use some pattern like the dev only inputs, either via flake-parts partitions or directly via flake-compat. Or perhaps the workaround is to use flake = false when using this.

@akirak
Copy link
Member

akirak commented Jan 7, 2025

This flake is primarily intended for use in Emacs Lisp CI, so it depends on all of the Emacs versions. For now, I don't care much about the extensive list of inputs printed on terminal. I don't want to add a dependency on a utility library like flake-parts.

It would be a good idea to add default.nix to allow non-flake importing. What is your use case?

@terlar
Copy link
Author

terlar commented Jan 7, 2025

I was going to use it with twist initialLibraries. But in the end I don't think I needed it, savannah had some connectivity issues, so I was thinking to get rid of the dependency completely. In the end my emacs src still came from there, so I used the github mirror and thus could still use the non-specified initialLibraries. I saw you were using initialLibraries specified both in the example in the twist lib and in your own emacs-config. But do you suggest not using it and rely on the emacs package itself (e.g. the default behavior)?

@akirak
Copy link
Member

akirak commented Jan 7, 2025

I saw you were using initialLibraries specified both in the example in the twist lib and in your own emacs-config. But do you suggest not using it and rely on the emacs package itself (e.g. the default behavior)?

Ah, yes, I am using the builtins indirectly by importing another flake as a non-flake. I am using it to avoid IFD. I didn't mean to recommend it, but I am not discouraging from using it either. I don't know what would be the most sophisticated way.

savannah had some connectivity issues

I also provide a set of mirrors for the savannah repositories, which I am using in my config. Feel free to use it.

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