unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Phil Beadling <phil@beadling.co.uk>
To: help-guix <help-guix@gnu.org>
Subject: GUIX_LOCPATH in empty environments vs profiles
Date: Wed, 13 Oct 2021 15:25:30 +0100	[thread overview]
Message-ID: <CAOvsyQuxY8xiAQ_8jYNwU73ESfB1mz4YPXMqN2fWQwTGFRswJQ@mail.gmail.com> (raw)

Hi all,

I've noticed what looks like me to be a discrepancy between environments
and profile.

I'm running Guix as a package manager over Ubuntu in this instance.

If I create even an empty environment in Guix, GUIX_LOCPATH is set, but in
order to achieve the same ends in a profile I need to explicitly include
glibc-utf8-locales as either a propagated input or in a manifest (assuming
my default profile is empty).

This tripped me up the last 24 hours - I had a manifest which would install
and run just fine as an environment but which was producing mysterious
runtime errors after installing without error into a profile (due to one of
the libraries requiring locale files I eventually worked out).

I've always expected enironments and profiles to behave the same as a
runtime environment, when provided with the same inputs to create them - is
there a reason for this discrepancy that I'm missing?

Should I always install locales into my default profile, rather than keep
them empty (they are not needed for many of my profile use-cases so it
seems a waste to install them by default)?


Cheers,
Phil.


$ guix environment

The following derivation will be built:

   /gnu/store/ga3dgkjwjz9s73khf5vbwx53i8n0ax8w-profile.drv



*building profile with 0 packages...*





$ echo $GUIX_LOCPATH

/gnu/store/rgydar9dfvflqqz2irgh7njj34amaxc6-glibc-utf8-locales-2.31/lib/locale

$

                 reply	other threads:[~2021-10-13 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=CAOvsyQuxY8xiAQ_8jYNwU73ESfB1mz4YPXMqN2fWQwTGFRswJQ@mail.gmail.com \
    --to=phil@beadling.co.uk \
    --cc=help-guix@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).