all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Mehmet Tekman <mtekman89@gmail.com>, guix-devel@gnu.org
Subject: Re: Small change request to the manual page "Building from Git"
Date: Sun, 9 Oct 2022 11:08:39 +0200	[thread overview]
Message-ID: <d96b394f-e486-6b3a-0392-d1698ceaf731@telenet.be> (raw)
In-Reply-To: <CAHHeYzLq9Npe+1Xc3qZbm21Jg322YbTSBSr26CEh=Xy4iOZ0+A@mail.gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 1878 bytes --]

On 06-10-2022 15:35, Mehmet Tekman wrote:
> Hi there,
> 
> I'd like to request some small changes be made on this page:
>  > https://guix.gnu.org/manual/en/html_node/Building-from-Git.html 
> <https://guix.gnu.org/manual/en/html_node/Building-from-Git.html>
> 
> 1. Authenticating on a foreign distro
> 
> When at the "make authenticate" stage of the build process on a foreign 
> distro, this fails because it cannot find guix.
> I think it's because the `guix environment guix --pure' command doesn't 
> include it, or obscures its path.
> 
> As a workaround, I ran `PATH=/usr/local/bin/:$PATH make authenticate'

"guix environment guix" only includes the dependencies of guix, not Guix 
itself.  Try "guix environment guix --pure guix" or "guix shell guix -D 
guix" instead.

"guix environment guix --pure" does indeed 'obscure its path' -- that's 
what --pure is for, if you don't want that, don't include --pure.

Both of these are independent of whether you are on a foreign distro or 
Guix System.

> 2. Easy fix for failing `make check' tests
> 
> I had a few failing tests on my foreign distro relating to setting locales.
> Digging around led me to this reddit thread for the solution:
>> https://old.reddit.com/r/GUIX/comments/jpq1uw/bashminimal507binbash_warning_setlocale_lc_all/
> 
> Here they suggest running `sudo guix install glibc-locales` instead of as a user.
> Maybe this should be mentioned, since I'm not the only one coming to GUIX from another distro.

Despite the name on Reddit, the name is Guix, not GUIX.

Also, assuming you have installed the Guix daemon with your foreign 
distro's package manager, this is a bug in the foreign distro's 
packaging, see 
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012536> in case of 
Debian.  You could ask your distro to do a similar fix.

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  reply	other threads:[~2022-10-09  9:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06 13:35 Small change request to the manual page "Building from Git" Mehmet Tekman
2022-10-09  9:08 ` Maxime Devos [this message]
2022-10-10 14:18   ` Mehmet Tekman
2022-10-10 15:59     ` Maxime Devos
2022-10-10 16:18       ` Mehmet Tekman
2022-10-10 16:25         ` Maxime Devos
2022-10-10 16:32           ` Mehmet Tekman
2022-10-10 17:01         ` zimoun

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=d96b394f-e486-6b3a-0392-d1698ceaf731@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=mtekman89@gmail.com \
    /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.