From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:39969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYolc-0002Og-0k for guix-patches@gnu.org; Thu, 06 Jun 2019 05:33:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYola-0003AT-BH for guix-patches@gnu.org; Thu, 06 Jun 2019 05:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYola-00039v-6X for guix-patches@gnu.org; Thu, 06 Jun 2019 05:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYolZ-0000mM-UL for guix-patches@gnu.org; Thu, 06 Jun 2019 05:33:01 -0400 Subject: [bug#35648] [PATCH] services: Add 'nix-service-type'. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190509122951.9119-1-go.wigust@gmail.com> <87woi5e8sq.fsf@gnu.org> <877e9zqhoq.fsf@gmail.com> Date: Thu, 06 Jun 2019 11:32:43 +0200 In-Reply-To: <877e9zqhoq.fsf@gmail.com> (Oleg Pykhalov's message of "Thu, 06 Jun 2019 10:47:01 +0300") Message-ID: <87v9xjnjno.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Oleg Pykhalov Cc: 35648@debbugs.gnu.org Hi Oleg, Oleg Pykhalov skribis: > Ludovic Court=C3=A8s writes: > > [=E2=80=A6] > >>> * doc/guix.texi (Miscellaneous Services): Document this. > > [=E2=80=A6] > >>> +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 =E2=80=98ln -s =E2=80=A6=E2=80=99 step and = =E2=80=98source =E2=80=A6=E2=80=99 is Guix > system relative. What about providing just these two lines (=E2=80=9Cln -s=E2=80=9D and =E2= =80=9Csource =E2=80=A6=E2=80=9D) 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=E2=80=99.