mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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>
This commit is contained in:
parent
285f3b58c6
commit
198df03756
1 changed files with 2 additions and 1 deletions
|
@ -407,7 +407,8 @@ (define bin-directories
|
|||
(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))
|
||||
|
|
Loading…
Reference in a new issue