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

Export emacsPackages as emacs.pkgs #134672

Open
davidak opened this issue Aug 18, 2021 · 2 comments
Open

Export emacsPackages as emacs.pkgs #134672

davidak opened this issue Aug 18, 2021 · 2 comments
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: emacs

Comments

@davidak
Copy link
Member

davidak commented Aug 18, 2021

Describe the bug

The use of emacsPackages was deprecated in #107152:

The previous versioned names emacsPackages have been moved to
aliases.nix and are now considered deprecated in favour of emacs.pkgs.

Since #113713 emacs packages are again exported into packages.json but as emacsPackages.

Please find a solution so they are listed as emacs.pkgs to be consistend with documentation.

The file to change is https://github.com/nixos/nixpkgs/blob/master/pkgs/top-level/packages-config.nix.

cc @adisbladis

@Atemu
Copy link
Member

Atemu commented Aug 19, 2021

A big problem is that nix-env doesn't seem to want to recurse into the attrs of a drv which makes sense as there are a bunch of derivation-internal derivations inside which you wouldn't want to show up in the list.

I don't think I'm a fan of putting important things like large sets of derivations inside a derivation; it should be elemental (as nix-env assumes). Putting something inside a drv for convenient access is absolutely fine with me but I don't think it should be the canonical location for that thing.

Maybe we should rethink #107152 instead of finding a solution to this surprisingly hard problem.

@stale
Copy link

stale bot commented Apr 29, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: emacs
Projects
None yet
Development

No branches or pull requests

2 participants