[Nix-dev] best process for building from source under development?

Lluís Batlle i Rossell viric at viric.name
Sun Mar 4 09:41:42 CET 2012


On Sun, Mar 04, 2012 at 06:48:25AM +0100, Florian Friesdorf wrote:
> On Sat, 3 Mar 2012 14:39:26 -0800, "Corey O'Connor" <coreyoconnor at gmail.com> wrote:
> > 2012/3/3 Lluís Batlle i Rossell <viric at viric.name>:
> > > No no. You need the webEnv in packageOverrides, better. Then "nix-env -qa" will see
> > > it.
> > 
> > Even better! This is almost perfect. Thanks!
> > 
> > >> Which then add a .nix-profile/dev-env directory.
> > >> I am not sure if there is just a "rebuild .nix-profile" command.
> > >> nixos-rebuild appears to only rebuild the system profile.
> > > You can use "nix-env -u \*" too, that may be close to what you mean by rebuild.
> > 
> > It is.
> 
> and maybe:
> 
> nix-env -q \* |xargs nix-env -i

Are you sure? It will ask to '-i' for the specific versions already installed,
no?


More information about the nix-dev mailing list