Hello,

Marc Weber <[email protected]> writes:

> You could then add one post hook collecting them and writing them into a
> ~/.nix-profile/.emacs file which you can load in your ~/.emacs file.

That's another instance where environment hooks would come in handy (see
http://thread.gmane.org/gmane.linux.distributions.nixos/993).

Currently, I just do:

--8<---------------cut here---------------start------------->8---
(setq load-path
      (cons (concat (getenv "HOME") "/.nix-profile/share/emacs/site-lisp")
            load-path))
--8<---------------cut here---------------end--------------->8---

Then you can just `require' anything that's installed in your profile.
It works well and is a reasonably small annoyance.

Thanks,
Ludo'.

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to