[Nix-dev] User environment hooks

Andres Loeh andres.loeh at googlemail.com
Mon Oct 13 08:34:08 CEST 2008


On Sat, Oct 11, 2008 at 8:28 PM, Isaac Dupree <isaacdupree at charter.net> wrote:

>> One way to look at nix-env is that it implicitly constructs a Nix
>> derivation (called the user environment) and builds it in the store.
>> Unfortunately, we never quite see the Nix expression that belongs to
>> the derivation -- it really is implicit.
>
> well, at least the expression could be printed to stderr or something.  Or
> if it can't be represented in actual physical nix-expression-language, maybe
> it should be able to be (in the interests of transparency, making people see
> how nix-env's powers aren't completely a magical different world)?  Store
> paths seem reasonably well-defined to me, even if they don't provide
> complete hint information on how to *reproduce* them, because they do
> include a hash...

Well, there's ~/.nix-profile/manifest which contains the info. This
could be included in the profile in a readable format, though.

Cheers,
  Andres



More information about the nix-dev mailing list