[Nix-dev] nix profiles and env vars - proposal

Marc Weber marco-oweber at gmx.de
Thu Apr 23 00:11:02 CEST 2009


Using such post install scripts you can create
  $out/nix-support/.emacs

files containing the 
  ('require foo)

lines found in all extensions which you have to put into your ~/.emacs
file.

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.

Then installing a emacs packages is enough to load it!

Does this sound convinient to you?

Same could be done for vim.

I'll try to implement this proposal next week.
Any objections?

Marc Weber



More information about the nix-dev mailing list