[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: build-system/gnu: patch-shebangs: Also patch shebangs in "/libexe
From: |
guix-commits |
Subject: |
03/04: build-system/gnu: patch-shebangs: Also patch shebangs in "/libexec". |
Date: |
Wed, 7 Jul 2021 18:29:43 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit 198df037562e7b4e0e90783dc5cba1e1c32f2110
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Jun 30 15:10:28 2021 +0200
build-system/gnu: patch-shebangs: Also patch shebangs in "/libexec".
Shebangs in "/bin" and "/sbin" subdirectories are currently
patched by patch-shebangs. But shebangs in "/libexec" currently
aren't, even though they occasionally need to be. E.g. when using
wrap-program on an executable in "libexec" without an explicit #:sh
when cross-compiling.
* guix/build/gnu-build-system.scm (patch-shebangs):
Add "/libexec" to 'bin-directories'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
guix/build/gnu-build-system.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index 28c719d..d0f7413 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -407,7 +407,8 @@ makefiles."
(match-lambda
((_ . dir)
(list (string-append dir "/bin")
- (string-append dir "/sbin")))))
+ (string-append dir "/sbin")
+ (string-append dir "/libexec")))))
(define output-bindirs
(append-map bin-directories outputs))