guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#35648] [PATCH] services: Add 'nix-service-type'.


From: Ludovic Courtès
Subject: [bug#35648] [PATCH] services: Add 'nix-service-type'.
Date: Thu, 06 Jun 2019 11:32:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hi Oleg,

Oleg Pykhalov <address@hidden> skribis:

> Ludovic Courtès <address@hidden> writes:
>
> […]
>
>>> * doc/guix.texi (Miscellaneous Services): Document this.
>
> […]
>
>>> +After @command{guix system reconfigure} you need to configure Nix
>>> for your
>>> +user, e.g.:
>>> +
>>> address@hidden
>>> +$ 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
>>> address@hidden 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.

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]