GNU bug report logs - #61526
[PATCH] gnu: distrobox: Skip substitution in man pages.

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Wed, 15 Feb 2023 05:04:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Rohleder <mike <at> rohleder.de>
To: 61526 <at> debbugs.gnu.org
Cc: Michael Rohleder <mike <at> rohleder.de>
Subject: [bug#61526] [PATCH] gnu: distrobox: Skip substitution in man pages.
Date: Wed, 15 Feb 2023 06:01:56 +0100
* gnu/packages/containers.scm (distrobox)[arguments]: Change refer-to-inputs
phase to not substitute in man pages.
---
 gnu/packages/containers.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index 3982f4f059..272b67c38d 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -176,7 +176,7 @@ (define-public distrobox
            #~(modify-phases %standard-phases
                (add-before 'install 'refer-to-inputs
                  (lambda* (#:key inputs #:allow-other-keys)
-                   (substitute* (find-files "." "^distrobox.*")
+                   (substitute* (find-files "." "^distrobox.*[^1]$")
                      (("podman") (search-input-file inputs "/bin/podman"))
                      (("wget") (search-input-file inputs "/bin/wget"))
                      (("command -v") "test -x"))))

base-commit: c0e9ddfa290056f137ee21a53be6be4fbb8586ea
-- 
2.39.1





This bug report was last modified 2 years and 94 days ago.

Previous Next


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