From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55794) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haDjr-0002ZZ-Cr for guix-patches@gnu.org; Mon, 10 Jun 2019 02:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1haDjq-00078D-AV for guix-patches@gnu.org; Mon, 10 Jun 2019 02:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1haDjq-00077y-70 for guix-patches@gnu.org; Mon, 10 Jun 2019 02:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1haDjq-0002N9-18 for guix-patches@gnu.org; Mon, 10 Jun 2019 02:25:02 -0400 Subject: bug#35648: [PATCH] services: Add 'nix-service-type'. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Oleg Pykhalov References: <20190509122951.9119-1-go.wigust@gmail.com> <87woi5e8sq.fsf@gnu.org> <877e9zqhoq.fsf@gmail.com> <87v9xjnjno.fsf@gnu.org> Date: Mon, 10 Jun 2019 09:24:06 +0300 In-Reply-To: <87v9xjnjno.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 06 Jun 2019 11:32:43 +0200") Message-ID: <87sgsiarg9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35648-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: [=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. OK, pushed as 47b9614b3110307093382363c0ba70d31f32ef59 to master. Thanks, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAlz994YACgkQFn+OpQAa +pxZXhAAjELf+QCGR5Xptai62BDtOx5U4d6oUr+i4Cdc+UpOmnF6Uecs2SbEQOPF d4lUeWwTSWZ0qqZlbn5QYFkngIoKem5cG0vPx1pMUoBy+yvbQve15w8u5XIWnKd+ 1ynu2vxce4L767Q1ha+fBRZWYorEOj0OnAk7ZjO88EskCUOfchNUVKdyaY5/kh97 2YV5dI9k6fQpoYooh3kDKS/sE3Sz74vfgleSqos8v7Ja+LU9Fg7Wu8uhadBKXROC 89qI/Tl4CoQTlXHOWmbAjtK/vFfAxCA5synUUfS1LwQnNDCksi3ATl/mpbVvQ+bV SfIlRCb1peT5eeg5WhRRRdzuq9DvRSkAO7weDfvG0O1hggwMBaimZhm27u9Z0dRq i4YGISLp9bpLIi35sppWY61ASgQ9OUjArMJXzpJ4pbaPF3ynltnSRH9AN2rNvNiC +l0FKCNcDjyiQkejcfsjgJTrTplEEAHAGkOJ/WV6Cn/tAwBtpXhu03FaZJmDfDWe WUQZWQy0SAVKKlvwIr3LP/ynGLyz5hV9jkrsc/RVdDk+p21pGNaOOMp2kMbtJ+I9 AaVO4FhTwBGwcG0fFjxtkl7t5CW6KL0zEK7wnAkUps3CUy1xoynZwVjyMgyw5WFY sEo/ODItzdDqK2D2v4VXXnTS02rMFEEHqf1rq2uYwGtS+8697Lk= =Gvwk -----END PGP SIGNATURE----- --=-=-=--