From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:44374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYn7z-0000us-Fp for guix-patches@gnu.org; Thu, 06 Jun 2019 03:48:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYn7y-0007mW-4e for guix-patches@gnu.org; Thu, 06 Jun 2019 03:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35316) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYn7x-0007lq-UN for guix-patches@gnu.org; Thu, 06 Jun 2019 03:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYn7x-0006gh-NW for guix-patches@gnu.org; Thu, 06 Jun 2019 03:48:01 -0400 Subject: [bug#35648] [PATCH] services: Add 'nix-service-type'. Resent-Message-ID: From: Oleg Pykhalov References: <20190509122951.9119-1-go.wigust@gmail.com> <87woi5e8sq.fsf@gnu.org> Date: Thu, 06 Jun 2019 10:47:01 +0300 In-Reply-To: <87woi5e8sq.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 01 Jun 2019 15:26:13 +0200") Message-ID: <877e9zqhoq.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@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic, Apologies for a delay. 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. I guess we could automate those steps, but I have no idea how to implement this at the moment. Maybe a link to upstream documentation and a link to this bug report? Currently manual steps are required to configure Nix for a user, which you could find on @url{https://issues.guix.info/issue/35648, 35648}. Also *note @url{https://nixos.org/nix/manual/, Nix Package Manager Guide} for more information about the installation process. Regards, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAlz4xPUACgkQFn+OpQAa +pxSSw//dVL5p5R0AE3YSggGRdJkeIia0igLCutKVqCG8IEB3A9WjdTceXWnNIaH /Zlc/q832xVg8Z4LubbV60FzTX4O+lM3wwWyk030jadeY4ClVZ5Adn/D479BDynt Bpb1srip3Sh8X8wmv1kuH+oK6iZQOL1aPqn3hCkMjJiuFw1yLzgrwVbGj/NJasvt Hq1xH+eNnYZnDnKD7EI4vtTIMWWuENZydfcJSpp/aiu+R0IgmCAC6FlRFnIzw0+Z hRN7BRdYY3ae9VyZGFep3IGIOnskse8OTzl07eT+MHW/HTIOdBCtU8su94CtcXIO DChG4mog5572nYaWkVXGgeENy3SW7MFhNvl1zQTwS+mqSpTS7sLzlpbbM3HcFKbl 31BpqPoKZgI8NnNW8ielsO9LknJOaaXMgjOVox4o2s8OzgsMV5IxeiUuRytYj7FT aFJtzID4iUzG7x8555FAWJT1hZ3OMLCZnN1i3W1zkk26PfKXT9oNBJbQ2MN/4IAY 8udaFGRWqhQx1z81QlQVkkpwqaKrfJGxQJereSKNPQuOAJZzQvLVpZIEy7Nqrr/Q Mp0P69ze0k43tY+ihLJ2CEz9Mz5ZiZbXOoJLYLJEzhqZoWYaTInx9fHTy9dgdcuo hPJHDFiK9rlPQM26g0aWJbnOiixHeeIIT7OhYUg8XaWIYsMkBko= =w7md -----END PGP SIGNATURE----- --=-=-=--