Skip to content

Split into two overlays: one for emacs and another for emacs packages#237

Merged
leungbk merged 3 commits intonix-community:masterfrom
linj-fork:pr/split-emacs-and-packages
Oct 4, 2022
Merged

Split into two overlays: one for emacs and another for emacs packages#237
leungbk merged 3 commits intonix-community:masterfrom
linj-fork:pr/split-emacs-and-packages

Conversation

@jian-lin
Copy link
Copy Markdown
Member

@jian-lin jian-lin commented Aug 24, 2022

Emacs packages in nixpkgs have binary cache since 1. It is useful to
split the whole overlay into two seperated ones so that users can use
emacs packages in nixpkgs with emacsWithPackagesFromUsePackage or
emacsWithPackagesFromPackageRequires in this overlay.

@jian-lin jian-lin force-pushed the pr/split-emacs-and-packages branch from 6632f4b to 1afd194 Compare August 24, 2022 02:36
@adisbladis
Copy link
Copy Markdown
Member

Conceptually I like this but can you split the commit so that files are first moved and then edited?
I want git history intact.

@jian-lin jian-lin force-pushed the pr/split-emacs-and-packages branch from 1afd194 to 6cc1fbc Compare August 24, 2022 05:29
@jian-lin
Copy link
Copy Markdown
Member Author

I split commits and hope that is what you mean.

Note that there are references to default.nix in the hydra dir and in some tests. As a result,they are broken after my first commit, but my second commit fixs them.

@jian-lin
Copy link
Copy Markdown
Member Author

jian-lin commented Oct 2, 2022

@leungbk Do you think this is good to merge if I rebase it?

@leungbk
Copy link
Copy Markdown
Member

leungbk commented Oct 2, 2022

@jian-lin Sounds good. Thanks for working on this.

This is to prepare for splitting the overlay into two seperated ones.
@jian-lin jian-lin force-pushed the pr/split-emacs-and-packages branch from 6cc1fbc to 1085763 Compare October 4, 2022 14:59
@jian-lin
Copy link
Copy Markdown
Member Author

jian-lin commented Oct 4, 2022

@leungbk I think it's ready for review

Emacs packages in nixpkgs have binary cache since [1]. It is useful to
split the whole overlay into two seperated ones so that users can use
emacs packages in nixpkgs with emacsWithPackagesFromUsePackage or
emacsWithPackagesFromPackageRequires in this overlay.

[1]: NixOS/nixpkgs#188110
@jian-lin jian-lin force-pushed the pr/split-emacs-and-packages branch from 1085763 to c91c353 Compare October 4, 2022 15:16
@leungbk leungbk merged commit 3c34eaa into nix-community:master Oct 4, 2022
@jian-lin jian-lin deleted the pr/split-emacs-and-packages branch October 4, 2022 18:45
@leungbk
Copy link
Copy Markdown
Member

leungbk commented Oct 4, 2022

Thanks!

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.

3 participants