Subject: [bug#61526] [PATCH] gnu: distrobox: Skip substitution in man pages.

From: Michael Rohleder <[email-masked]>
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