notmuch via nix/nixpkgs (was: Re: [PATCH] create and set temporary home directory)

Subject: notmuch via nix/nixpkgs (was: Re: [PATCH] create and set temporary home directory)

Date: Mon, 18 Apr 2011 19:57:32 +0200

To: notmuch@notmuchmail.org

Cc:

From: Florian Friesdorf


On Mon, 18 Apr 2011 19:41:39 +0200, Florian Friesdorf <flo@chaoflow.net> wrote:
> 
> In case of a non-existent home directory, the tests are failing without
> this patch.

As asked for by jrollins on irc, more info on my build environment:

I use nixos [1] which uses the nix package manager [2] and nixpkgs
package collection [3].

nix and nixpkgs can be used independent of nixos on top of many
operating systems [4]. Packages installed via nix are fully isolated
From the rest of the system.

Package builds are described via nix expressions (see example for
notmuch attached). The build happens fully isolated.

Some big differences of nixos to other systems:
- no /usr, instead profiles (system, default, user)
- everything in /nix/store and linked into profiles
- atomic changes
- easy rollback to old version
- each profile fully isolated of other profiles
- possible to have dedicated profiles, i.e. isolated environments, for
development

For more info, see [1], freenode #nixos and I'm happy to answer
questions.

regards
florian


[1] http://nixos.org/
[2] http://nixos.org/nix/
[3] http://nixos.org/nixpkgs/
[4] http://hydra.nixos.org/release/nix/nix-0.16

default.nix (application/octet-stream)
-- 
Florian Friesdorf <flo@chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo@chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
part-001.sig (application/pgp-signature)

Thread: