From: raingloom <raingloom@riseup.net>
To: help-guix <help-guix@gnu.org>
Subject: Re: Default/global packages for foreign distro
Date: Wed, 17 Mar 2021 02:52:10 +0100 [thread overview]
Message-ID: <20210317025210.67505d42@riseup.net> (raw)
In-Reply-To: <CAOvsyQtgaHdPBP_LXEfXz-xxi3snOUT14_D1EbVYNenu0H1G6g@mail.gmail.com>
On Tue, 16 Mar 2021 12:35:25 +0000
Phil Beadling <phil@beadling.co.uk> wrote:
> Hi all,
>
> Refering to this section of the manual:
> https://guix.gnu.org/manual/en/guix.html#Locales-1
>
> Is it possible in a foreign distro setup to define a set of base
> packages in a global profile, set for all users?
>
> I'm trying to avoid having to install a locale for each user account
> if possible?
>
> Thanks,
> Phil.
Could probably create a profile somewhere and source that from the
default profile scripts or maybe the PAM environment scripts.
Something like:
$ guix package --profile=/var/guix-base-profile --manifest=/etc/guix-base-packages.scm
And add a line like this wherever the environment is set up, which I'm
honestly not sure where it is:
GUIX_PROFILE=/var/guix-base-profile source /var/guix-base-profile
It's important that the variable assignment is on the same line as the
call to source.
Alternatively you could write
export GUIX_PROFILE=/var/guix-base-profile
source $GUIX_PROFILE
which sets GUIX_PROFILE as a side effect, which might cause problems.
prev parent reply other threads:[~2021-03-17 17:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 12:35 Default/global packages for foreign distro Phil Beadling
2021-03-17 1:52 ` raingloom [this message]
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=20210317025210.67505d42@riseup.net \
--to=raingloom@riseup.net \
--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).