[Nix-dev] Providing more explicit nix installation instructions

Vladimír Čunát vcunat at gmail.com
Mon Jan 14 13:38:49 CET 2013


On 01/14/2013 12:54 PM, Florian Friesdorf wrote:
> Ellis Whitehead <ellis.whitehead at gmail.com> writes:
>> (..)
>> Sometimes things have worked out, sometimes they haven't.  Usually,
>> the documentation lacks a bit of explicit (sometimes vital) detail.
>> Since I'll probably go through this processes occasionally in the
>> future, I'd be willing to add my findings to the wiki or the
>> documentation, if this would be of interest?
>
> I think this would be great!

+1

The only question is how much to wiki and how much to update the 
official DocBook documentation.

>> # Now this is the problem:
>> $ sudo nix-channel --add http://nixos.org/channels/nixpkgs-unstable
>>
>> That created the file $HOME/.nix-channels in my USER home, but with
>> owner root.  Obviously not the correct behavior.  The following `sudo
>> nix-channel --update` failed (sorry, don't have the error message
>> anymore).  Any suggestions for a better way to do this?
>
> sudo -H (see man sudo)

I believe nix-channel --add is supposed to be run *without* sudo anyway 
(it only sets up ~/.nix* stuff AFAIK).


Vlada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130114/8e3b19d8/attachment.bin 


More information about the nix-dev mailing list