mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gexp: 'mixed-text-file' UTF-8-encodes its output.
* guix/gexp.scm (mixed-text-file)[build]: Call 'set-port-encoding!'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
57d4fc7b1a
commit
1f3d7b4534
1 changed files with 1 additions and 0 deletions
|
@ -1921,6 +1921,7 @@ (define* (mixed-text-file name #:rest text)
|
|||
(define build
|
||||
(gexp (call-with-output-file (ungexp output "out")
|
||||
(lambda (port)
|
||||
(set-port-encoding! port "UTF-8")
|
||||
(display (string-append (ungexp-splicing text)) port)))))
|
||||
|
||||
(computed-file name build))
|
||||
|
|
Loading…
Reference in a new issue