me
/
guix
Archived
1
0
Fork 0
Commit Graph

136397 Commits (3db1a8341c815af3673c367518fbb193f5592864)

Author SHA1 Message Date
Christopher Baines 3db1a8341c
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
2024-05-13 19:31:17 +01:00
Efraim Flashner 1632fd0f1b
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
2024-05-13 20:00:54 +03:00
Karl Hallsby b23aa4c1d6
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>
2024-05-14 00:24:12 +08:00
Karl Hallsby 6b6ad68559
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>
2024-05-14 00:24:12 +08:00
Karl Hallsby 65186deae4
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>
2024-05-14 00:24:12 +08:00
Zheng Junjie 40af021e28
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
2024-05-14 00:24:12 +08:00
Zheng Junjie 38598c693f
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
2024-05-14 00:24:12 +08:00
Zheng Junjie ecfd88cbe3
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>
2024-05-14 00:24:12 +08:00
Ludovic Courtès 58be9a79e2
gnu: guix: Update to 7ca9809.
This is a followup to 7757fdd491.

* gnu/packages/package-management.scm (guix): Update to 7ca9809.

Change-Id: Ic1e6d75223eb7e1371805f51b9f230ef846c536c
2024-05-13 18:22:53 +02:00
Ludovic Courtès 7ca9809cdb
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
2024-05-13 16:31:35 +02:00
Ludovic Courtès 723d45866f
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
2024-05-13 16:31:35 +02:00
Massimo Zaniboni efbdfe1900
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>
2024-05-13 16:31:34 +02:00
Tomas Volf 9dce86b1cb
.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>
2024-05-13 16:31:34 +02:00
Tomas Volf dc4c6ab4cb
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>
2024-05-13 16:31:34 +02:00
Tomas Volf 408c4511a6
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>
2024-05-13 16:31:34 +02:00
Ludovic Courtès 7757fdd491
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
2024-05-13 16:31:34 +02:00
Ricardo Wurmus be235a3092
gnu: Add r-anndatar.
* gnu/packages/bioinformatics.scm (r-anndatar): New variable.

Change-Id: I6060c5c15a46c064aa03ec2431a72ea88f925706
2024-05-13 16:12:12 +02:00
Christopher Baines 7b0f145802
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
2024-05-13 12:01:49 +01:00
Christopher Baines 8fb98fe33b
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
2024-05-13 12:01:49 +01:00
Christopher Baines 31d1cc82b3
gnu: nss/fixed: Tweak performance test.
As I'm seeing this test fail with results of 5 to 7 seconds.

* gnu/packages/nss.scm (nss/fixed)[arguments]: Tweak a test to have a higher
time threshold.

Change-Id: Icb0551cd986acf67b2ba17dc8772a67b9747d31a
2024-05-13 12:01:46 +01:00
Efraim Flashner 08360a2cd0
gnu: atril: Expand package description.
* gnu/packages/mate.scm (atril)[description]: Expand with the upstream
description.

Change-Id: Ibd142094a5fbb4028613a03da0bd6de75cc9f6fe
2024-05-13 12:38:07 +03:00
Efraim Flashner ca892fc9ef
gnu: atril: Remove input labels.
* gnu/packages/mate.scm (atril)[native-inputs]: Remove package labels.
[inputs]: Same.

Change-Id: I9bdb69426d4b3285b09310642b881ac9bcee0d47
2024-05-13 12:37:02 +03:00
Tomas Volf d86b6233d5
gnu: slirp4netns: Update to 1.3.0.
* gnu/packages/containers.scm (slirp4netns): Update to 1.3.0.

Change-Id: I1f9c75a6e3dab996465879cf6734799a8b9e9d53
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 09:11:06 +01:00
Jonathan Brielmaier 173420d73c
gnu: gnome-maps: Update to 46.10.
* gnu/packages/geo.scm (gnome-maps): Update to 46.10.
[arguments]: Add phase to setup time zones for a new test.
[native-inputs]: Add libportal and tzdata-for-tests.

Change-Id: Ife9b17eda68662d2adb289acfeacf1dc8f179a46
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 09:11:06 +01:00
Jonathan Brielmaier 7db57257d5
gnu: libshumate: Update to 1.2.1.
* gnu/packages/gnome.scm (libshumate): Update to 1.2.1.
[arguments]: Drop `-Dlibsoup3=true` configure flag as it got removed
upstream.  It only supports libsoup3 now.
[native-inputs]: Add gperf.
[propagated-inputs]: Add json-glib and protobuf-c.

Change-Id: Ibe63b6f2060f6684f8f68f44c2221ba9d6ad5a45
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 09:11:06 +01:00
kiasoc5 43cd76fa58
gnu: mg: Update to 20230501.
* gnu/packages/text-editors.scm (mg): Update to 20230501.

Change-Id: Ie72901207562488f392d5877e1b41a41067893f4
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 09:11:06 +01:00
antlers 0309080ffc
gnu: zfs: Update to 2.2.3.
* gnu/packages/file-systems.scm (zfs): Update to 2.2.3.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: If77ba25fe98603d79fd08623ce12a9fa916bae43
2024-05-13 09:11:06 +01:00
Andy Tai 0b3f2f28c6
gnu: llama-cpp: Update to 0.0.0-2.fed0108.
As last update was in February and new changes for new models and memory leaks
fixes since then.

* gnu/packages/machine-learning.scm (llama-cpp): Update to 0.0.0-2.fed0108.
[arguments]<#:phases>: Add 'disable-unrunable-tests' phase.  Change
replacement of 'install to be a post-install 'install-main' phase so libraries
and header files are normally installed.

Change-Id: Ia6532945f588747c4d58fdb7611d6a9c3c596705
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 09:11:06 +01:00
Andy Tai cc212af83e
gnu: opensycl: Rename to adaptivecpp and update to 24.02.0.
* gnu/packages/sycl.scm (adaptivecpp): New variable.
(opensync): Redefine using DEPRECATED-PACKAGE.

Change-Id: I7ac3f49409d539962de34510ed9255021b795724
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 09:11:06 +01:00
Rostislav Svoboda e5fa18b628
guix: channels: Handle single case with authenticating message.
* guix/channels.scm (authenticate-channel): Handle single case with
authenticating message.

Change-Id: I7759607f37405e6d3bd4b7f5958fd11d908db204
Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 09:11:05 +01:00
Christopher Baines 63dfce508a
gnu: guix-data-service: Update to 0.0.1-49.f4be647.
* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-49.f4be647.

Change-Id: I874df868fed2d22dd1bb8c696a55d8396581b9a6
2024-05-13 09:11:05 +01:00
Christopher Baines 034306b3b7
gnu: nar-herder: Update to 0-31.0e89dbb.
* gnu/packages/package-management.scm (nar-herder): Update to 0-31.0e89dbb.

Change-Id: Ia238baa6bd835d3fa8ea81d1f0a12c3fee333973
2024-05-13 09:11:05 +01:00
Christopher Baines 4f45bf4e94
gnu: guix-build-coordinator: Update to 0-103.ff81428.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-103.ff81428.

Change-Id: I91cb97a69c2650efa35291cfab724b4e80007e06
2024-05-13 09:11:05 +01:00
Efraim Flashner 109679cdfa
Revert "gnu: python-xcffib: Update to 1.4.0."
This reverts commit 56980ea500.

This package includes files which need to be bootstrapped, to produce
the bindings matching our version of libxcb.
2024-05-13 11:00:00 +03:00
Efraim Flashner ed3f818b15
gnu: alfa: Reuse 'check phase.
* gnu/packages/astronomy.scm (alfa)[arguments]: Set test-target. Replace
custom 'post-install-check phase with the standard 'check phase.

Change-Id: Ic5f77ac3a3a6ef62ce36ad5fa8892db6d0894d04
2024-05-13 10:52:54 +03:00
Efraim Flashner a0221c3424
gnu: alfa: Skip tests when cross compiling.
* gnu/packages/astronomy.scm (alfa)[arguments]: Also skip tests when
cross compiling.

Change-Id: Ie96b418a652feff6b4dfc79ffcac9d0f1900fce5
2024-05-13 10:50:12 +03:00
Danny Milosavljevic 6ba29e0210
gnu: Add tree-sitter-awk.
* gnu/packages/tree-sitter.scm (tree-sitter-awk): New variable.

Change-Id: Iba10ae4fc9f8f86d43a0db256d645239be2fa8fc
2024-05-12 23:22:48 +02:00
Danny Milosavljevic 6957a9c336
gnu: Add tree-sitter-kotlin.
* gnu/packages/tree-sitter.scm (tree-sitter-kotlin): New variable.

Change-Id: Id29bf5097a4950bdc6a4509eeb7bb8c411064169
2024-05-12 23:22:43 +02:00
Wilko Meyer 89cd778f6a
gnu: Add python-overpass.
* gnu/packages/geo.scm (python-overpass): New variable.

Change-Id: Icd7a66ec6acd2e213bfd6920a1d71c1e0e815695
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-05-12 20:40:29 +02:00
Christopher Baines 7b2e7ff25a
gnu: ruby-gem-hadar: Use git-minimal/pinned.
This helps reduce the dependencies on git, as I think it's find to build
ruby-gem-hadar with a slightly older git, at least during periods when
git-minimal/pinned needs updating.

* gnu/packages/ruby.scm (ruby-gem-hadar)[propagated-inputs]: Use
git-minimal/pinned.

Change-Id: I48e7725f8e4956f1a8311df1867d8d441c5cb4c2
2024-05-12 18:58:17 +01:00
Christopher Baines 418710ccc0
gnu: alfa: Don't run tests on riscv64-linux.
As the test suite seems to consume all the disk space.

* gnu/packages/astronomy.scm (alfa)[arguments]: Don't run tests on riscv64.

Change-Id: Ifa52b8205387c22b386ccad97fd6e69723193a16
2024-05-12 18:55:51 +01:00
Andy Tai 8b81fae667
gnu: adns: Update to 1.6.1.
* gnu/packages/adns.scm (adns): Update to 1.6.1.

Change-Id: I1e6d42ab558bba55895efd39d7bb4cd9e5ee7b99
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-12 18:55:27 +01:00
Suhail Singh 3843820d5d
gnu: emacs-eldev: Update to 1.10.
* gnu/packages/emacs-xyz.scm (emacs-eldev): Update to 1.10.

Change-Id: Iafaf10e545920b424fc709def4ebfc6c831cf76f
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-12 18:51:15 +01:00
Andy Tai 8643bb4a82
gnu: nano: Update to 8.0.
* gnu/packages/text-editors.scm (nano): Update to 8.0.

Change-Id: I2312dd5140fee4d8cc42f622f733c616d7b39550
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-12 18:50:57 +01:00
Picnoir 986ee0c66c
doc: Update NixOS wiki url to the official wiki.
nixos.wiki was created by a community member a long time ago. It turned out to
be very useful to the community, it became an official service last month
hosted on the NixOS.org domain name. To ease the long term maintainance among
other things.

See more details at https://github.com/NixOS/foundation/issues/113

* doc/guix.texi (Nix service): Change nixos.wiki to wiki.nixos.org.

Change-Id: Ia95074fbfad494e8ceb5c2cdb3faab23f3604882
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-12 18:49:04 +01:00
Fredrik Salomonsson 069e4d86b8
gnu: emacs-suneater-theme: Update to 2.5.2.
* gnu/packages/emacs-xyz.scm (emacs-suneater-theme): Update to 2.5.2.

Change-Id: I09ddb510e59d461b7f383a400ef8b7cfbeb19714
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-12 18:47:08 +01:00
Frank Terbeck d2b9736c5e
gnu: guile-tap: Update to 0.5.1.
* gnu/packages/guile-xyz.scm (guile-tap): Update to 0.5.1.
[arguments]: Patch bin/tap-harness.

Change-Id: Ia8a02400f1d559fcec7eb9861f24a7116928814b
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-12 18:43:18 +01:00
Giacomo Leidi via Guix-patches via ca571f4259
gnu: Add python-vdf.
* gnu/packages/python-xyz.scm (python-vdf): New variable.

Reviewed-by: Steve George <steve@futurile.net>
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: Ie8a14292b9c9937d22f011ac078562e81abd6b36
2024-05-12 18:40:33 +01:00
Ashish SHUKLA 0dac1307cc
gnu: tmux: Update to 3.4.
* gnu/packages/tmux.scm (tmux): Update to 3.4.
[native-inputs]: Add bison.

Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: I549010a3cf492ffe9cdc9df25b2b4a93c60c6ae1
2024-05-12 18:31:25 +01:00
Juliana Sims 0eaae8e4d4
gnu: Add m8c.
* gnu/packages/electronics.scm (m8c): New variable.

Change-Id: Ibfc2e9364211e24c59d4d9015ab144f0c4ee972c
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-12 18:29:30 +01:00