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

Marc Weber marco-oweber at gmx.de
Fri Apr 24 13:00:59 CEST 2009


On Fri, Apr 24, 2009 at 12:42:11PM +0200, Ludovic Courtès wrote:
> --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---

(add-to-list 'load-path "~/.nix-profile/share/emacs/site-lisp")
(require 'pydb)
(require 'bashdb)

That's what I've been using which works as well. It even is shorter?

Sincerly
Marc Weber



More information about the nix-dev mailing list