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

Add a function for building ELPA-compatible package archives #175

Closed
wants to merge 6 commits into from

Conversation

akirak
Copy link
Member

@akirak akirak commented Sep 18, 2024

This is an experimental feature for providing packages to platforms that don't support Nix (e.g. Windows without WSL).

With lib.buildElpaArchive function exposed from the flake, it builds a package archive that can be installed using package-install-file. The function takes the value of packageInputs.* attribute and builds a directory that contains the Emacs Lisp source files and *-pkg.el file in the same directory, so you can upload the artifact to a server. You also need to add a writable permission.

This is a fallback for non-Nix platforms. It is not recommended to use it daily, as there are extra overheads than the existing solution.

@akirak akirak force-pushed the build-elpa-archive branch 2 times, most recently from d48bd4a to 83b7d44 Compare September 18, 2024 16:40
@akirak
Copy link
Member Author

akirak commented Sep 19, 2024

I don't want to implement this feature as part of this repository. I will create a separate repository for this experimental feature. Closing.

@akirak akirak closed this Sep 19, 2024
@akirak akirak deleted the build-elpa-archive branch September 19, 2024 11:19
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

Successfully merging this pull request may close these issues.

1 participant