unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>, guix-devel@gnu.org
Subject: Re: Multiple profiles with Guix Home
Date: Sat, 07 May 2022 09:17:36 +0200	[thread overview]
Message-ID: <63f9c8070ba363fc83ce39ac067dd992d67c6d3c.camel@telenet.be> (raw)
In-Reply-To: <08bbdf58ca44241d1e14236201d6c5cb6a336e91.camel@gmail.com>

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

> > It is a clear thematic division to me.  Though it's a bit large,
> > maybe 'applications' could be divided futher in more specific
> themes
> > (‘office’ apps, games, terminal utilities, ...).
> Yeah, that division makes more sense, but note that none of the
> categories you cited call specifically for SSL_CERT_DIR/FILE.  It
> really is curl, which you might categorize as "terminal utility", but
> more accurately fits into "web" along with nss-certs, for example.

I don't have 'curl' or 'wget' installed.

'minetest' falls under games and can be used offline, yet it requires
SSL_CERT_DIR/FILE for contacting its ‘mod’ server ContentDB.

In the past, I've had a 'calibre' package installed, which in some
usage modes contacts the network and needs TLS certificates (I don't
know if it respect SSL_CERT_DIR/SSL_CERT_FILE) -- I guess I would
classify it as ‘office‘, not ‘web’

'emacs' can be used to browse the ‘web’ (and hence might respect
SSL_CERT_DIR/SSL_CERT_FILE, not sure), yet it would be classified as
maybe ‘office’ but not ‘web’.

I guess ‘git’ could be classified as ‘web’, but it seems more something
for ‘terminal utilities’ or such to me, and it uses certificates for
repositories over https://.

‘gpg’ looks like something for ‘terminal utilities’ to me, yet it can
contact keyservers (though I'm not sure it can do so over HTTPS), which
might need certificates (I don't know if it respects
SSL_CERT_DIR/SSL_CERT_FILE).

'vlc' can stream videos from over the Internet (over HTTP or HTTPS), so
it might need certificates (I don't know if it respects
SSL_CERT_DIR/SSL_CERT_FILE), but it doesn't seem like ‘web’ to me.

AFAICT, the only for reason SSL_CERT_DIR/SSL_CERT_FILE would be set on
my system, is the ‘youtube-dl’ package (that is, once the search path
is added to the package), and the ‘openssl’ package, which AFAICT was
only installed to work around ‘SSL_CERT_DIR/SSL_CERT_FILE is not set
because many packages forget SSL_CERT_DIR/SSL_CERT_FILE in the native-
search-paths'.

Liliana Marie Prikler schreef op vr 06-05-2022 om 23:32 [+0200]:
> > > But what's more both nss-certs, glibc-locales and other packages
> > > that on their own provide everything you need in a search path
> > > can
> > > already be handled easily with existing mechanisms of Guix Home.
> > 
> > I haven't found any such mechanism -- I haven't found any hits for
> > 'GUIX_LOCPATH' or SSL_CERT_DIR/FILE'.  At most I've found
> > 'environment-variables->setup-environment-script', but as user I
> > just
> > want to add packages to a profile and have it work without having
> > to
> > manually fiddle with environemnt variables.
> I'm pretty sure Guix Home allows you to write your bashrc with gexps,
> no?  So you could put (string-append "export SSL_CERT_DIR=" #$nss-
> certs "/etc/ssl/certs") in there IIRC.

That's the kind of manual fiddling I was referring to (I don't want to
have to known any Bash more complicated that just starting some
binary), which I'd like Guix Home to automatically do for me instead. 
Why can't Guix (Home) do this for me?  Also, ~/.bashrc is Bash
specific, did you mean ~/.profile or .../etc/profile instead?

> > [search paths things]
> Perhaps, but this requires more than simply a declarative way of
> managing profiles, which is the main point here.  It would require
> search-paths as first class citizens of profiles in addition to that,
> which I already mentioned a few times in between.

As such, I consider addressing the search paths limitation a
requirement for the new ‘separated profiles with Guix Home’, though as
I understand it, you do not consider it to be a blocker?

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2022-05-07  7:18 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-03 10:50 Multiple profiles with Guix Home Liliana Marie Prikler
2021-10-04  7:17 ` zimoun
2021-10-04  8:11   ` Liliana Marie Prikler
2022-05-03 14:13 ` Andrew Tropin
2022-05-03 18:34   ` Liliana Marie Prikler
2022-05-03 19:13     ` Maxime Devos
2022-05-03 20:04       ` Liliana Marie Prikler
2022-05-03 20:39         ` Maxime Devos
2022-05-03 20:44         ` Maxime Devos
2022-05-04  9:25           ` Maxime Devos
2022-05-03 20:59         ` Maxime Devos
2022-05-04  4:16           ` Liliana Marie Prikler
2022-05-04  7:01             ` Maxime Devos
2022-05-04  7:08               ` Maxime Devos
2022-05-04 13:15               ` Reza Housseini
2022-05-04 13:46                 ` Maxime Devos
2022-05-04 18:14                   ` zimoun
2022-05-04 18:21                     ` Maxime Devos
2022-05-05  8:01                 ` Andrew Tropin
2022-05-04 18:38               ` Liliana Marie Prikler
2022-05-04 20:41                 ` Maxime Devos
2022-05-05  4:25                   ` Liliana Marie Prikler
2022-05-05 10:53                     ` Maxime Devos
2022-05-05 16:24                       ` Liliana Marie Prikler
2022-05-05 16:33                         ` Maxime Devos
2022-05-05 17:21                           ` Liliana Marie Prikler
2022-05-05 17:29                             ` Maxime Devos
2022-05-05 11:03                     ` Maxime Devos
2022-05-05 16:31                       ` Liliana Marie Prikler
2022-05-05 16:42                         ` Maxime Devos
2022-05-05 17:12                           ` Maxime Devos
2022-05-05 17:27                           ` Liliana Marie Prikler
2022-05-05 17:41                             ` Maxime Devos
2022-05-05 19:17                               ` Liliana Marie Prikler
2022-05-05 19:42                                 ` Maxime Devos
2022-05-05 20:20                                   ` Liliana Marie Prikler
2022-05-05 18:00                             ` Maxime Devos
2022-05-05 19:08                               ` Liliana Marie Prikler
2022-05-05 19:44                                 ` Maxime Devos
2022-05-05 23:53                                   ` zimoun
2022-05-05 20:13                                 ` Maxime Devos
2022-05-05 20:53                                   ` Liliana Marie Prikler
2022-05-05 21:28                                     ` Maxime Devos
2022-05-06  4:19                                       ` Liliana Marie Prikler
2022-05-07 23:06                                         ` Ludovic Courtès
2022-05-05 20:50                                 ` zimoun
2022-05-05 18:25                         ` zimoun
2022-05-03 21:11         ` Maxime Devos
2022-05-04  4:23           ` Liliana Marie Prikler
2022-05-04  6:57             ` Maxime Devos
2022-05-04  9:24             ` Maxime Devos
2022-05-04 13:05     ` Andrew Tropin
2022-05-05 11:05 ` Maxime Devos
2022-05-05 16:22   ` Liliana Marie Prikler
2022-05-05 17:07     ` Maxime Devos
2022-05-05 17:19       ` Liliana Marie Prikler
2022-05-05 17:29         ` Maxime Devos
2022-05-05 18:24           ` Liliana Marie Prikler
2022-05-05 20:14             ` Maxime Devos
2022-05-05 20:27               ` Liliana Marie Prikler
2022-05-05 20:38                 ` Maxime Devos
2022-05-05 20:41                 ` Maxime Devos
2022-05-05 20:26             ` Maxime Devos
2022-05-06 18:40               ` Liliana Marie Prikler
2022-05-06 19:54                 ` Maxime Devos
2022-05-06 21:32                   ` Liliana Marie Prikler
2022-05-07  7:17                     ` Maxime Devos [this message]
2022-05-23 13:14 ` Andrew Tropin
2022-05-23 17:05   ` Liliana Marie Prikler
2022-05-24 11:55     ` Andrew Tropin
2022-05-24 18:31       ` Liliana Marie Prikler
2022-05-25 11:01         ` Andrew Tropin
2022-05-25 23:36           ` Liliana Marie Prikler
2022-05-27 12:52             ` andrew
2022-05-27 13:14               ` Liliana Marie Prikler
  -- strict thread matches above, loose matches on Subject: below --
2021-10-03 20:51 John Kehayias

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=63f9c8070ba363fc83ce39ac067dd992d67c6d3c.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=liliana.prikler@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 public inbox

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

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