[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35648: [PATCH] services: Add 'nix-service-type'.
From: |
Oleg Pykhalov |
Subject: |
bug#35648: [PATCH] services: Add 'nix-service-type'. |
Date: |
Mon, 10 Jun 2019 09:24:06 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Ludovic Courtès <address@hidden> writes:
[…]
>>>> +After @command{guix system reconfigure} you need to configure Nix
>>>> for your
>>>> +user, e.g.:
>>>> +
>>>> +@example
>>>> +$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable
>>>> +$ nix-channel --update
>>>> +$ ln -s "/nix/var/nix/profiles/per-user/$USER/profile" ~/.nix-profile
>>>> +$ source /run/current-system/profile/etc/profile.d/nix.sh
>>>> +$ nix-env --install hello
>>>> +$ hello
>>>> +@end example
>>>
>>> Can we instead simply add a link to upstream documentation for this? I
>>> would feel more comfortable that way.
>>
>> I'm not sure it will be comfortable for most of Guix users. Upstream
>> documentation doesn't mention ‘ln -s …’ step and ‘source …’ is Guix
>> system relative.
>
> What about providing just these two lines (“ln -s” and “source …”) and
> adding a cross-reference to the Nix manual for more information?
>
> If that works for you, you can push with these changes.
OK, pushed as 47b9614b3110307093382363c0ba70d31f32ef59 to master.
Thanks,
Oleg.
signature.asc
Description: PGP signature