GNU bug report logs - #48277
[PATCH 0/1] New wrap-in-search-paths function

Previous Next

Package: guix-patches;

Reported by: Edouard Klein <edk <at> beaver-labs.com>

Date: Fri, 7 May 2021 15:43:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: Edouard Klein <edk <at> beaver-labs.com>, 48277 <at> debbugs.gnu.org
Subject: [bug#48277] [PATCH 0/1] New wrap-in-search-paths function
Date: Sun, 09 May 2021 20:15:24 +0200
[Message part 1 (text/plain, inline)]
Edouard Klein schreef op vr 07-05-2021 om 17:42 [+0200]:
> This patch adds the wrap-in-search-paths function [...].
> [... text about shepherd services, foreign distros, propagated-inputs,
>      gexps ...]

I don't see any obvious problems with the patch, though I haven't tested.

It would be easier to review if you modified one or two packages
and services in guix itself to use this wrap-in-search-paths procedure
though. (Preferably services with a system test in gnu/tests/*.scm.)
Otherwise, guix would have a procedure that is not called from anywhere
and isn't tested either, which is a bit of a hard sell.

Not sure how this helps with

> First, when running on a foreign distro, guix packages (especially python packages)
> can break the foreign distribution by putting Guix's python interpreter before the
> host's in the PATH. Scripts that rely on a #!/usr/bin/env python shebang then breaks.
> This for example breaks gdm on the latest Ubuntu when you install any package for
> which python is a propagated input.

, but this seems useful for shepherd services (as you mentioned).

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.