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

Invert Profile Control #3

Open
psionic-k opened this issue Dec 18, 2020 · 1 comment
Open

Invert Profile Control #3

psionic-k opened this issue Dec 18, 2020 · 1 comment

Comments

@psionic-k
Copy link
Member

This is not a straightforward issue, but it would define the useful output of this project.

Use lisp to drive the creation of a profile and give emacs its own profile rather than using nix to drive the creation of a profile that installs emacs and some of its configurations

@psionic-k psionic-k reopened this Dec 30, 2021
@psionic-k
Copy link
Member Author

This is hard. Yakspkgs looks viable. The problem I run into is the impedance between generating Nix profiles, which is batch, and installing Emacs packages with dependencies, which is not batch.

In the end, if we want to install Emacs with dependencies, a bootstrap similar to Elpaca and Straight or no-littering, things done early in init, will be necessary to get a profile baked and made active before packages begin loading. Those packages then require small amounts of pre-configuration to ensure that they don't go try to load system libraries.

The idea of maintaining a dynamic profile and baking it into a persistent and transferable profile may be back in view.

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

1 participant