[Nix-dev] per project env conf

Kirill Elagin kirelagin at gmail.com
Tue Mar 3 16:09:49 CET 2015


On Tue, Mar 3, 2015 at 3:29 PM Catonano <catonano at gmail.com> wrote:

> At this stage the contents of ~/.nix-defexpr/channels/ is like this
>
> $ ls -lha .nix-defexpr/channels/
> totale 216K
> dr-xr-xr-x.   2 catonano catonano 4,0K  1 gen  1970 .
> drwxrwxr-x. 409 catonano catonano 204K  3 mar 12.14 ..
> lrwxrwxrwx.   1 catonano catonano   60  1 gen  1970 manifest.nix ->
> /nix/store/w213f...-env-manif
>

That means that there are no active channels. You either didn’t add the
nixos channel (`nix-channel --add`) or forgot to update channels
(`nix-channels --update`).


> notice the date on the . folder. How did it ended up being like that ?
>

That’s perfectly fine: `~/.nix-defexpr/channels` is a symlink into the nix
store, and all the files in the store have dates like this (because they
are hashed, so they have to have some “normalised” mtime).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150303/f7198d59/attachment.html 


More information about the nix-dev mailing list