Hi,
On second thought, honouring search paths of dependencies
(filtered by looking at the references?) would solve much more problems
than it could create -- a theoretical ‘problem’ is that more
environment variables than strictly needed might be defined (see e.g.
the wrap-program example) but it
See https://issues.guix.gnu.org/issue/22138
I'm not sure what the implications would be. Your results look good and I think
it's close enough to what we need. Now, to get SSL_CERT_DIR to be defined, we
simply need a ssl cert dir to be present in the profile, which is what users
expect.
I would
Ludovic Courtès skribis:
> The attached procedure computes the search paths of a package based on
> its run-time dependencies. ‘profile-derivation’ could use this to
> compute its ‘etc/profile’ file and its ‘manifest’ file.
One difficulty with this approach is that search paths are currently a
Hi Mark,
Mark H Weaver skribis:
> Julien Lepiller writes:
>
>> Hi, I've been looking at our current code and would like to propose the
>> attached patch for that issue.
>>
>> From cfd2c229087166ab4cc0a9e2bdb72c8b393bcdd5 Mon Sep 17 00:00:00 2001
>> From: Julien Lepiller
>> Date: Thu, 1 Aug 201
Le 5 août 2019 18:23:55 GMT+02:00, Mark H Weaver a écrit :
>Hi Julien,
>
>Julien Lepiller writes:
>
>> Hi, I've been looking at our current code and would like to propose
>the
>> attached patch for that issue.
>>
>> From cfd2c229087166ab4cc0a9e2bdb72c8b393bcdd5 Mon Sep 17 00:00:00
>2001
>> From:
Hi Julien,
Julien Lepiller writes:
> Hi, I've been looking at our current code and would like to propose the
> attached patch for that issue.
>
> From cfd2c229087166ab4cc0a9e2bdb72c8b393bcdd5 Mon Sep 17 00:00:00 2001
> From: Julien Lepiller
> Date: Thu, 1 Aug 2019 22:09:38 +0200
> Subject: [PAT
Hi, I've been looking at our current code and would like to propose the
attached patch for that issue.
>From cfd2c229087166ab4cc0a9e2bdb72c8b393bcdd5 Mon Sep 17 00:00:00 2001
From: Julien Lepiller
Date: Thu, 1 Aug 2019 22:09:38 +0200
Subject: [PATCH] guix: Recursively honor search paths of depende
As of 0.9.0+, only the search paths of packages explicitly in the
profile are shown by ‘--search-paths’ and similar. This is a problem
for libraries that have associated environment variables.
For instance, if one installs an application linked against OpenSSL,
they will not know about ‘SSL_CERT_