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: Oleg Pykhalov
Subject: [bug#35648] [PATCH] services: Add 'nix-service-type'.
Date: Thu, 06 Jun 2019 10:47:01 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hi Ludovic,

Apologies for a delay.

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.  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: signature.asc
Description: PGP signature


reply via email to

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