summaryrefslogtreecommitdiff
path: root/guix/build/json.scm
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-05-31 18:22:31 +0200
committerLudovic Courtès <ludo@gnu.org>2021-06-04 22:31:38 +0200
commit8b0899963faa3b04ed09192ac58db0a711c6a654 (patch)
tree7c7b1b6b2e27ffb3c9120f3e2956e01700e61ef9 /guix/build/json.scm
parent0fdf2cdef0c0ab8a43a539e2917d82c8ee4c4e73 (diff)
utils: Allow overriding the shell interpreter in ‘wrap-program’.
Previously, when creating new wrappers, 'wrap-program' would search for an interpreter to use in PATH. However, this is incorrect when cross-compiling. Allow overriding the shell interpreter to use, via an optional keyword argument #:sh. In time, when all users of 'wrap-program' have been corrected, this keyword argument can be made mandatory. * guix/build/utils.scm (wrap-program): Introduce a #:sh keyword argument, defaulting to (which "sh"). Use this keyword argument. Partially-Fixes: <https://issues.guix.gnu.org/47869> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/build/json.scm')
0 files changed, 0 insertions, 0 deletions