all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleg Pykhalov <go.wigust@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 35648@debbugs.gnu.org
Subject: [bug#35648] [PATCH] services: Add 'nix-service-type'.
Date: Thu, 06 Jun 2019 10:47:01 +0300	[thread overview]
Message-ID: <877e9zqhoq.fsf@gmail.com> (raw)
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")

[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]

Hi Ludovic,

Apologies for a delay.

Ludovic Courtès <ludo@gnu.org> writes:

[…]

>> * doc/guix.texi (Miscellaneous Services): Document this.

[…]

>> +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.  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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-06-06  7:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-09 12:29 [bug#35648] [PATCH] services: Add 'nix-service-type' Oleg Pykhalov
2019-06-01 13:26 ` Ludovic Courtès
2019-06-06  7:47   ` Oleg Pykhalov [this message]
2019-06-06  9:32     ` Ludovic Courtès
2019-06-10  6:24       ` bug#35648: " Oleg Pykhalov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877e9zqhoq.fsf@gmail.com \
    --to=go.wigust@gmail.com \
    --cc=35648@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.