aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/m4.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-08-08 23:36:31 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-08-09 17:19:18 +0300
commit9b363021e948057168a714e233e874881ffdda7f (patch)
tree80d0b1066af27e67a7d1b5128eca9301959a1db1 /gnu/packages/m4.scm
parent1a53f5b998db72ebae6ee6dd16b837dee4586d55 (diff)
downloadguix-9b363021e948057168a714e233e874881ffdda7f.tar.gz
guix-9b363021e948057168a714e233e874881ffdda7f.zip
gnu: Add go-github-com-alecthomas-repr.
* gnu/packages/golang.scm (go-github-com-alecthomas-repr): New variable.
Diffstat (limited to 'gnu/packages/m4.scm')
0 files changed, 0 insertions, 0 deletions
gt;. Before this change, the presence of a NUL character on a line meant that the (glibc) regexp engine used by Guile would either 1. stop scanning the string or 2. crash with the error "string contains #\\nul character", depending on the locale used. This change works around this limitation by first replacing the NUL character by an unused Unicode code point, doing the substitution, then reverting the replacement. * guix/build/utils.scm (unused-private-use-code-point) (replace-char): New procedures. (substitute): Make use of the above procedures to work around the NUL character regexp engine limitation. * tests/build-utils.scm: Add tests. Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Mark H Weaver 2020-11-16Properly deal with build directories containing '~'....Fixes <https://bugs.gnu.org/44626>. Reported by Vagrant Cascadian <vagrant@debian.org>. * tests/build-utils.scm ("wrap-script, simple case"): Pass SCRIPT-CONTENTS to 'display' rather than 'format'. * gnu/services/base.scm (file-system->shepherd-service-name) [valid-characters, mount-point]: New variables. Filter out invalid store file name characters from the mount point of FILE-SYSTEM. Ludovic Courtès 2019-11-26tests: Avoid unnecessary use of 'mock'....* tests/build-utils.scm ("wrap-script, simple case"): Use the real 'which' instead of mocking it. Ludovic Courtès 2019-11-26tests: Avoid (catch 'srfi-34 …) form....* tests/build-utils.scm ("wrap-script, raises condition"): Use 'guard' instead of "catch 'srfi-34". Ludovic Courtès