gnu: Add sfsexp.
* gnu/packages/c.scm (sfsexp): New variable.
Change-Id: Iabfbe10b4ad6134ae886a3d26487f881107b559c
Signed-off-by: Christopher Baines <mail@cbaines.net>
store: Add with-store/non-blocking.
For some applications, it's important to establish a non-blocking connection
rather than just making the socket non-blocking after the connection is
established. This is because there is I/O on the socket that will block during
the handshake.
I've noticed this blocking during the handshake causing issues in the build
coordinator for example.
This commit adds a new with-store variant to avoid changing the behaviour of
with-store/open-connection to ensure that this change can't break anything
that depends on the blocking nature of the socket.
* guix/store.scm (open-unix-domain-socket, open-inet-socket): Take
#:non-blocking? and use SOCK_NONBLOCK when calling socket if appropriate.
(connect-to-daemon, open-connection, call-with-store): Take #:non-blocking?
and pass it on.
(with-store/non-blocking): New syntax rule.
* .dir-locals.el (scheme-mode): Add entry for with-store/non-blocking.
Change-Id: I8225762b78448bc1f7b698c8de5d736e13f577bf
gnu: evdi: Update to 1.14.4.
* gnu/packages/linux.scm (evdi): Update to 1.14.4.
(libevdi)[native-inputs]: Add pkg-config.
Change-Id: I5e25a2a4a10608af927b2315dbd56b568ef56a1a
gnu: Add tree-sitter-erlang.
* gnu/packages/tree-sitter.scm (tree-sitter-erlang): New variable.
Change-Id: Ib1449549249816736bf30a1d419a23fd7a45570e
Change-Id: I99cdde6418e04d4898f0f6509d2e7d849e2a4f22
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
gnu: Add tree-sitter-vhdl.
* gnu/packages/tree-sitter.scm (tree-sitter-vhdl): New variable.
Change-Id: Ia26e33f9898573e70c9afdd4025e3770d042dbd6
Change-Id: I07b2b89f878957af1544344122cdfe8970efc9f7
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
gnu: Add tree-sitter-verilog.
* gnu/packages/tree-sitter.scm (tree-sitter-verilog): New variable.
Change-Id: I2066aff3cf39cebda956125cdac71236502a7ac5
Change-Id: If4acb8c10cd3942f46dcb05b8009760a6452b67a
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
gnu: foot: Fix cross-compilation.
* gnu/packages/terminals.scm (foot): Fix cross-compilation.
[arguments]<#:configure-flags>: When cross-compilation, Remove -Db_lto=true.
[native-inputs]: When cross-compilation, Add wayland, pkg-config-for-build.
[inputs]: Add wayland-protocols.
Change-Id: Ia56d2583254bd9ab463e5b39859eae8eb5092c9b
gnu: utf8proc: fix cross-compilation.
* gnu/packages/textutils.scm (utf8proc): fix cross-compilation.
[arguments]<#:make-flags>: Use CC-FOR-TARGET.
<#:phases>: When cross-compilation, Get test data from native-inputs.
Change-Id: I42699e62f28585cc215a8843b5daad9c52af44c9
gnu: cairo: Fix cross-compilation.
* gnu/packages/gtk.scm (cairo)[arguments]: Add ‘fix-cross-compilation’ phase
when cross-compiling.
Change-Id: I3579bb1249c749ee5f164bb4dd47f585b181c2bc
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
tests: Skip ‘terminal-string-width’ test on encodings other than UTF-8.
* tests/syscalls.scm ("terminal-string-width Japanese"): Skip when the
encoding of (current-output-port) is not UTF-8.
Reported-by: Ashvith Shetty <ashvithshetty10@gmail.com>
Change-Id: Ic284dd088d6b148d6fcb457290a28fdb0838b83d
tests: Remove interference from the user’s Git config.
* tests/guix-download.sh: Set ‘GIT_CONFIG_GLOBAL’ and
‘GIT_CONFIG_SYSTEM’.
Reported-by: Ashvith Shetty <ashvithshetty10@gmail.com>
Change-Id: Ibe14d23db2e8af58b85c78248997c6dde78e11e0
file-systems: Add "virtiofs" to the list of pseudo file system types.
* gnu/system/file-systems.scm (%pseudo-file-system-types): Add "virtiofs"
to the list of pseudo file system types.
Change-Id: Ib1d99127e65f6543c592faec1c54bd0c5eae3ad7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
.dir-locals: Configure indentation for swap-space.
* .dir-locals.el (scheme-mode): Indent swap-space same as file-system.
Change-Id: Id9f2cbd3c81343b479ab1e4df29c65f8b5bd739f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
doc: Fix bug in hg-reference documentation.
The field is called changeset, not revision. And the string does not have to
be a number.
* doc/guix.texi (origin Reference): Fix documentation for hg-reference.
Change-Id: Ic622dfc7b44caf42d070cdab8e42808dd96e6d63
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
doc: Document cvs-fetch and cvs-reference.
For some reason, they were missing from the documentation. This commit adds
them including an example of usage.
* doc/guix.texi (origin Reference): Add cvs-fetch and cvs-reference.
Change-Id: I6622a9f70e6d71ed31fbb3d2689df4a6946f8868
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
daemon: Loop over ‘copy_file_range’ upon short writes.
Fixes <https://issues.guix.gnu.org/70877>.
* nix/libutil/util.cc (copyFile): Loop over ‘copy_file_range’ instead of
throwing upon short write.
Reported-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Id7b8a65ea59006c2d91bc23732309a68665b9ca0
gnu: Add r-anndatar.
* gnu/packages/bioinformatics.scm (r-anndatar): New variable.
Change-Id: I6060c5c15a46c064aa03ec2431a72ea88f925706
Use po4a-minimal for guix.
As this avoids the indirect dependency on nss, which has a testsuite that
takes a long time to run.
* gnu/packages/package-management.scm (guix)[native-inputs]: Use po4a-minimal.
* guix/self.scm (%packages, translate-texi-manuals): Use po4a-minimal.
Change-Id: Iac7555cc850c1618d3d54f1b290faa4f9cfb4f8a
gnu: Add po4a-minimal.
The main reason is to avoid the texlive-updmap.cfg input indirectly pulling in
nss, which has a very time consuming testsuite.
* gnu/packages/gettext.scm (po4a-minimal): New variable.
Change-Id: If8d46a18a02e57d5427852e8e122de01f970ded4