nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
7.13k stars 1.84k forks source link

emacs: get packages from local emacs #6081

Open hraban opened 1 week ago

hraban commented 1 week ago

Description

This fixes a problem I had locally where pinning an Emacs from a previous nixpkgs version in my config didn't also extend to pinning the packages.

I will admit I'm not 100% if I'm solving this the right way but it feels like this is what you'd want? And is this the right way to do so?

Whether this is backwards compatible depends on your interpretation of what the spec was in the first place; was this a bug or a feature?

Checklist

Maintainer CC