Tobias Geerinckx-Rice [Wed, 24 Feb 2021 15:17:58 +0000 (16:17 +0100)]
gnu: nano: Update to 5.6.
* gnu/packages/nano.scm (nano): Update to 5.6.
Ricardo Wurmus [Wed, 24 Feb 2021 14:49:37 +0000 (15:49 +0100)]
gnu: Add tmsu.
* gnu/packages/file-systems.scm (tmsu): New variable.
Ricardo Wurmus [Wed, 24 Feb 2021 14:48:36 +0000 (15:48 +0100)]
gnu: Add go-github-com-hanwen-fuse.
* gnu/packages/file-systems.scm (go-github-com-hanwen-fuse): New variable.
Léo Le Bouter [Wed, 24 Feb 2021 13:04:54 +0000 (14:04 +0100)]
gnu: Add greenclip.
* gnu/packages/haskell-apps.scm (greenclip): New variable.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
Stefan Reichör [Fri, 19 Feb 2021 20:04:26 +0000 (21:04 +0100)]
gnu: Add ghc-wordexp.
* gnu/packages/haskell-xyz.scm (ghc-wordexp): New variable.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
Stefan Reichör [Fri, 19 Feb 2021 20:04:25 +0000 (21:04 +0100)]
gnu: ghc-protolude: Update to 0.3.0.
* gnu/packages/haskell-xyz.scm (ghc-protolude): Update to 0.3.0.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
Léo Le Bouter [Wed, 24 Feb 2021 13:47:03 +0000 (14:47 +0100)]
gnu: purescript: Move to version-specific ghc-protolude-0.2 input.
* gnu/packages/purescript.scm (purescript)[inputs]: Replace ghc-protolude with
ghc-protolude-0.2.
Léo Le Bouter [Wed, 24 Feb 2021 13:42:28 +0000 (14:42 +0100)]
gnu: Add ghc-protolude-0.2.
* gnu/packages/haskell-xyz.scm (ghc-protolude-0.2): New variable.
Jonathan Brielmaier [Wed, 24 Feb 2021 13:42:27 +0000 (14:42 +0100)]
gnu: icedove: Update to 78.8.0.
* gnu/packages/gnuzilla.scm (icedove): Update to 78.8.0.
Ricardo Wurmus [Wed, 24 Feb 2021 13:13:39 +0000 (14:13 +0100)]
gnu: Add go-github-com-mattn-go-sqlite3.
* gnu/packages/golang.scm (go-github-com-mattn-go-sqlite3): New variable.
Ryan Prior via Guix-patches via [Wed, 24 Feb 2021 04:50:06 +0000 (04:50 +0000)]
gnu: esbuild: Update to 0.8.51.
* gnu/packages/web.scm (esbuild): Update to 0.8.51.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Nicolas Goaziou [Wed, 24 Feb 2021 12:52:45 +0000 (13:52 +0100)]
gnu: emacs-pyim: Update to 3.2.
* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 3.2.
[source]: Use GNU ELPA URI.
[description]: Use full sentence.
Jelle Licht [Tue, 16 Feb 2021 23:06:04 +0000 (00:06 +0100)]
gnu: node: Update to 10.23.3.
* gnu/packages/node.scm (node): Update to 10.23.3.
Jelle Licht [Tue, 16 Feb 2021 22:28:58 +0000 (23:28 +0100)]
gnu: http-parser: Update to 2.9.4-1.
ec8b5ee [fixes CVE-2020-8287].
Fixes CVE-2020-8287.
* gnu/packages/web.scm (http-parser): Update to 2.9.4-1.
ec8b5ee.
[source]: Add patch to mitigate CVE.
* gnu/packages/patches/patches/http-parser-CVE-2020-8287.patch: New file.
* gnu/local.mk [dist_patch_DATA]: New patch.
Christopher Baines [Wed, 24 Feb 2021 09:18:51 +0000 (09:18 +0000)]
gnu: patchwork: Update to 3.0.1.
* gnu/packages/patchutils.scm (patchwork): Update to 3.0.1.
Mark H Weaver [Tue, 23 Feb 2021 22:42:06 +0000 (17:42 -0500)]
gnu: icecat: Update to 78.8.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2021-23968, CVE-2021-23969, CVE-2021-23973, and
CVE-2021-23978.
* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update upstream source hash.
Nicolas Goaziou [Wed, 24 Feb 2021 00:18:33 +0000 (01:18 +0100)]
gnu: emacs-csv-mode: Update to 1.15.
* gnu/packages/emacs-xyz.scm (emacs-csv-mode): Update to 1.15.
Raghav Gururajan [Sat, 20 Feb 2021 01:28:57 +0000 (20:28 -0500)]
gnu: profanity: Disable static libraries.
* gnu/packages/messaging.scm (profanity) [arguments]<#:configure-flag>: Add --disable-static.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
Raghav Gururajan [Sat, 20 Feb 2021 00:46:39 +0000 (19:46 -0500)]
gnu: profanity: Add missing inputs.
* gnu/packages/messaging.scm (profanity) [inputs]: Add libgcrypt.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
Raghav Gururajan [Tue, 23 Feb 2021 17:03:23 +0000 (12:03 -0500)]
gnu: libstrophe: Disable static libraries.
* gnu/packages/messaging.scm (libstrope)[arguments]: Add --disable-static
configure flag. Patch Makefile.am to make tests link correctly.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
libstrophe oneline
Raghav Gururajan [Tue, 23 Feb 2021 14:39:22 +0000 (09:39 -0500)]
gnu: libstrophe: Update to 0.10.1.
* gnu/packages/messaging.scm (libstrophe) [version]: Update to 0.10.1.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
Raghav Gururajan [Sat, 20 Feb 2021 01:24:15 +0000 (20:24 -0500)]
gnu: libmesode: Disable static libraries.
* gnu/packages/messaging.scm (libmesode)[arguments]: Add --disable-static
configure flag. Patch Makefile.am to make tests link correctly.
Raghav Gururajan [Sat, 20 Feb 2021 00:37:30 +0000 (19:37 -0500)]
gnu: libmesode: Update source, home-page URIs.
* gnu/packages/messaging.scm (libmesode) [source]: Update to new
upstream URI.
[home-page]: Same.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
Dan Frumin [Sat, 27 Jul 2019 18:18:22 +0000 (20:18 +0200)]
gnu: Add oshu.
* gnu/packages/games.scm (oshu): New variable.
Co-authored-by: Leo Prikler <leo.prikler@student.tugraz.at>
Leo Prikler [Sat, 20 Feb 2021 23:47:35 +0000 (00:47 +0100)]
guix: renpy-build-system: Quote data directory.
This prevents generated launchers and desktop files from inadvertently
crashing if the directory name contains a space.
* gnu/build/renpy-build-system.scm (install, install-desktop-file): Use ~s
to format data directory.
Björn Höfling [Tue, 23 Feb 2021 22:12:50 +0000 (23:12 +0100)]
gnu: asciidoc: Update source URI.
* gnu/packages/documentation.scm (asciidoc)[source]: Update URI.
This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46706>.
They moved (and redirected) the repository to the new location
<https://github.com/asciidoc-py/asciidoc-py>. Here they changed the old
commits in-place using now Python3, which caused the hash mismatch.
The untouched Python2 version is still found under the ..-py2 repository.
Alexandros Theodotou [Sun, 21 Feb 2021 10:33:30 +0000 (10:33 +0000)]
gnu: redkite: Update to 1.3.0.
* gnu/packages/audio.scm (redkite): Update to 1.3.0.
[propagated-inputs]: Move cairo from inputs.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Alexandros Theodotou [Sun, 21 Feb 2021 10:33:31 +0000 (10:33 +0000)]
gnu: geonkick: Update to 2.7.0.
* gnu/packages/music.scm (geonkick): Update to 2.7.0.
[inputs]: Remove cairo (included in redkite).
[home-page]: Update URL.
[source]: Update repository URL.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Alexandros Theodotou [Sun, 21 Feb 2021 09:57:46 +0000 (09:57 +0000)]
gnu: zrythm: Update to 1.0.0-alpha.12.0.1.
* gnu/packages/music.scm (zrythm): Update to 1.0.0-alpha.12.0.1.
[inputs]: Add pulseaudio.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Christopher Baines [Tue, 23 Feb 2021 20:19:16 +0000 (20:19 +0000)]
gnu: guix-build-coordinator: Update to 0-19.
f9a257e.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-19.
f9a257e.
Leo Famulari [Tue, 23 Feb 2021 18:41:52 +0000 (13:41 -0500)]
packages: Improve the docstring of PACKAGE/INHERIT.
* guix/packages.scm (package/inherit): Try to clarify the docstring.
Leo Famulari [Fri, 19 Feb 2021 23:09:57 +0000 (18:09 -0500)]
gnu: Python: Fix CVE-2021-3177.
* gnu/packages/patches/python-3.8-CVE-2021-3177.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-3.8)[replacement]: New field.
(python-3.8/fixed): New variable.
Alexandros Theodotou [Tue, 23 Feb 2021 18:51:05 +0000 (18:51 +0000)]
gnu: Add midicomp.
* gnu/packages/audio.scm (midicomp): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Ricardo Wurmus [Tue, 23 Feb 2021 18:38:48 +0000 (19:38 +0100)]
gnu: Add star-for-pigx.
This is a follow-up to commit
f1f6e49190a11f926af3bef0d45541cabf47c742.
* gnu/packages/bioinformatics.scm (star-for-pigx): New variable.
(pigx-rnaseq, pigx-scrnaseq)[inputs]: Replace star with star-for-pigx.
Nicolas Goaziou [Tue, 23 Feb 2021 18:01:50 +0000 (19:01 +0100)]
gnu: grammalecte: Update to 2.1.1.
* gnu/packages/dictionaries.scm (grammalecte): Update to 2.1.1.
Nicolas Goaziou [Tue, 23 Feb 2021 17:36:00 +0000 (18:36 +0100)]
gnu: pwsafe-cli: Fix version (again).
* gnu/packages/password-utils.scm (pwsafe-cli)[version]: Actual version is
0.2.0, not 0.2.1.
This is a followup to
9d76ff4304d1e9d0f413360ccdf2a2b14bf16c73.
Nicolas Goaziou [Tue, 23 Feb 2021 17:30:22 +0000 (18:30 +0100)]
gnu: pwsafe-cli: Fix version.
* gnu/packages/password-utils.scm (pwsafe-cli)[version]: Use 0.2.1 instead of
0.
Nicolas Goaziou [Tue, 23 Feb 2021 17:27:45 +0000 (18:27 +0100)]
gnu: pwsafe-cli: Small fixes.
* gnu/packages/password-utils.scm (pwsafe-cli): Fix indentation.
[inputs]: Re-order alphabetically.
[description]: Use a full sentence.
Nicolas Goaziou [Tue, 23 Feb 2021 17:23:43 +0000 (18:23 +0100)]
gnu: pwsafe-cli: Fix license.
* gnu/packages/password-utils.scm (pwsafe-cli)[license]: Use GPL2+.
Stefan Reichör [Fri, 19 Feb 2021 21:16:16 +0000 (22:16 +0100)]
gnu: Add pwsafe-cli.
* gnu/packages/password-utils.scm (pwsafe-cli): New variable.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
Alexey Abramov via Guix-patches via [Tue, 23 Feb 2021 12:40:20 +0000 (13:40 +0100)]
gnu: emacs-oauth2: Fix source location.
* gnu/packages/emacs-xyz.scm (emacs-oauth2): Replace .el extension with .tar
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
raid5atemyhomework [Tue, 23 Feb 2021 14:41:46 +0000 (15:41 +0100)]
doc: Expand sane-service-type documentation.
* doc/guix.texi (sane-service-type): Move from between documentation
about geoclue, expand slightly.
(sane-backends-minimal): New description.
(sane-backends): New description, new example.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Ludovic Courtès [Fri, 19 Feb 2021 21:30:30 +0000 (22:30 +0100)]
store: Micro-optimize object cache lookup.
This avoids a closure allocation when 'lookup-cached-object' is called.
* guix/store.scm (lookup-cached-object): Avoid optional/keyword
arguments and inline.
(%mcached): Adjust accordingly.
Ludovic Courtès [Tue, 23 Feb 2021 13:19:48 +0000 (14:19 +0100)]
gexp: Reduce allocations in 'gexp-attribute'.
* guix/gexp.scm (gexp-attribute): Use 'fold' and 'fold/tree' instead of
'append-map'.
Ludovic Courtès [Fri, 19 Feb 2021 09:18:48 +0000 (10:18 +0100)]
gexp: Reduce allocations while traversing lists.
This reduces the total amount of memory allocated by 8% when running
"guix build qemu -d --no-grafts".
* guix/gexp.scm (fold/tree): New procedure.
(gexp-inputs)[interesting?]: New procedure.
[add-reference-inputs]: Change (lst ...) clause to (? pair? lst), and
use 'fold/tree' to recurse into it.
(gexp-inputs)[add-reference-output]: Likewise, and remove
plain (lst ...) clause.
Call 'fold'.
(gexp->sexp)[reference->sexp]: In the list case, avoid boxing and
recursive call when the object has a plain non-aggregate type.
Ludovic Courtès [Wed, 17 Feb 2021 13:25:43 +0000 (14:25 +0100)]
gexp: Micro-optimize 'gexp->sexp' and 'lower-inputs'.
* guix/gexp.scm (lower-inputs, gexp->sexp): Change keyword parameters to
positional parameters. Adjust callers accordingly.
* tests/gexp.scm (gexp->sexp*, "gexp->file"): Adjust accordingly.
Ludovic Courtès [Wed, 17 Feb 2021 11:36:42 +0000 (12:36 +0100)]
gexp: Keep 'lower-inputs' private.
It had been made public in
6b6298ae39bfe185ce1ab18bb3d641ddfad17c8f but
it's no longer needed since
779aa003fbacbbcb6973f289b607d1d285009cec.
* guix/gexp.scm (lower-inputs): Do not export.
Ludovic Courtès [Tue, 16 Feb 2021 20:46:18 +0000 (21:46 +0100)]
gexp: 'gexp-inputs' returns both native and non-native inputs.
This avoids double traversal of references and extra bookkeeping,
thereby further reducing memory allocations.
* guix/gexp.scm (lower-gexp): Include only one call to 'lower-inputs'.
(gexp-inputs): Remove #:native? parameter.
[set-gexp-input-native?]: New procedure.
[add-reference-inputs]: Use it.
(gexp-native-inputs): Remove.
* tests/gexp.scm (gexp-native-inputs): Remove.
(gexp-input->tuple): Include 'gexp-input-native?'.
("let-system")
("let-system, nested")
("ungexp + ungexp-native")
("ungexp + ungexp-native, nested")
("ungexp + ungexp-native, nested, special mixture")
("input list")
("input list + ungexp-native")
("input list splicing")
("input list splicing + ungexp-native-splicing")
("gexp list splicing + ungexp-splicing"): Adjust accordingly.
Ludovic Courtès [Tue, 16 Feb 2021 19:54:27 +0000 (20:54 +0100)]
gexp: 'gexp-inputs' returns a list of <gexp-input> records.
This slightly reduces memory allocation.
* guix/gexp.scm (lower-inputs): Expect a list of <gexp-input> rather
than a list of tuples.
(lower-reference-graphs)[tuple->gexp-input]: New procedure.
Use it.
(gexp-inputs): Return a list of <gexp-input> rather than a list of
tuples.
* tests/gexp.scm (gexp-input->tuple): New procedure.
("one input package")
("one input package, dotted list")
("one input origin")
("one local file")
("one local file, symlink")
("one plain file")
("two input packages, one derivation, one file")
("file-append")
("file-append, output")
("file-append, nested")
("let-system")
("let-system, nested")
("ungexp + ungexp-native")
("ungexp + ungexp-native, nested")
("ungexp + ungexp-native, nested, special mixture")
("input list")
("input list + ungexp-native")
("input list splicing")
("input list splicing + ungexp-native-splicing")
("gexp list splicing + ungexp-splicing"): Adjust accordingly.
Ludovic Courtès [Sat, 28 Mar 2015 20:44:01 +0000 (21:44 +0100)]
gexp: Micro-optimize sexp serialization.
* guix/gexp.scm (sexp->string): New procedure.
(gexp->derivation): Use it instead of 'object->string'.
Ludovic Courtès [Thu, 18 Feb 2021 21:25:18 +0000 (22:25 +0100)]
store: Object cache profiling shows the number of entries.
* guix/store.scm (record-cache-lookup!): Add 'size' variable; keep it
up-to-date and display it.
Ludovic Courtès [Fri, 19 Feb 2021 21:19:41 +0000 (22:19 +0100)]
grafts: Inline 'grafting?' and 'set-grafting'.
As for 'current-target-system' & co., this makes sure we don't
needlessly allocate closures.
* guix/grafts.scm (grafting?, set-grafting): Inline.
Efraim Flashner [Tue, 23 Feb 2021 13:35:49 +0000 (15:35 +0200)]
gnu: ruby-rails: Update to 6.1.3.
* gnu/packages/rails.scm (ruby-activemodel, ruby-activerecord,
ruby-actionview, ruby-actionpack, ruby-actioncable, ruby-activejob,
ruby-activestorage, ruby-actionmailer, ruby-railties, ruby-rails):
Update to 6.1.3.
(ruby-actiontext, ruby-actionmailbox): New variables.
(ruby-actioncable)[propagated-inputs]: Add ruby-activesupport.
(ruby-activestorage)[propagated-inputs]: Add ruby-activejob,
ruby-activesupport, ruby-mimemagic.
(ruby-actionmailer)[propagated-inputs]: Add ruby-activesupport.
(ruby-railties)[propagated-inputs]: Add ruby-rake.
(ruby-rails)[propagated-inputs]: Add ruby-actionmailbox,
ruby-actiontext.
* gnu/packages/ruby.scm (ruby-activesupport): Update to 6.1.3.
[propagated-inputs]: Add ruby-zeitwerk.
[home-page]: Use https.
Efraim Flashner [Tue, 23 Feb 2021 13:29:13 +0000 (15:29 +0200)]
gnu: ruby-rack: Update to 2.2.3.
* gnu/packages/ruby.scm (ruby-rack): Update to 2.2.3.
[source]: Remove patch. Add snippet.
[arguments]: Adjust custom 'fix-tests phase. Remove 'make-files-writable
phase.
[native-inputs]: Remove ruby-minitest-sprint, which. Add
ruby-minitest-global-expectations.
[propagated-inputs]: Remove ruby-concurrent.
* gnu/packages/patches/ruby-rack-ignore-failing-test.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
Efraim Flashner [Tue, 23 Feb 2021 13:26:11 +0000 (15:26 +0200)]
gnu: Add ruby-zeitwerk.
* gnu/packages/ruby.scm (ruby-zeitwerk): New variable.
Efraim Flashner [Tue, 23 Feb 2021 13:25:14 +0000 (15:25 +0200)]
gnu: ruby-web-console: Update to 4.1.0.
* gnu/packages/rails.scm (ruby-web-console): Update to 4.1.0.
Efraim Flashner [Tue, 23 Feb 2021 13:15:02 +0000 (15:15 +0200)]
gnu: ruby-tzinfo-data: Update to 1.2021.1.
* gnu/packages/ruby.scm (ruby-tzinfo-data): Update to 1.2021.1.
[source]: Remove patch.
[arguments]: Add custom 'patch-source, 'pre-check phases.
[native-inputs]: Add IANA timezone data files.
* gnu/packages/patches/ruby-tzinfo-data-ignore-broken-test.patch: Remove
file.
* gnu/local.mk (dist_patch_DATA): Remove it.
Efraim Flashner [Tue, 23 Feb 2021 13:13:08 +0000 (15:13 +0200)]
gnu: ruby-tzinfo: Update to 2.0.4.
* gnu/packages/ruby.scm (ruby-tzinfo): Update to 2.0.4.
[source]: Download using git-fetch.
[arguments]: Add custom 'pre-check, 'check phases.
[propagated-inputs]: Remove ruby-thread-safe, add ruby-concurrent.
[native-inputs]: Add ruby-simplecov.
Efraim Flashner [Tue, 23 Feb 2021 13:10:44 +0000 (15:10 +0200)]
gnu: ruby-rails-html-sanitizer: Update to 1.3.0.
* gnu/packages/rails.scm (ruby-rails-html-sanitizer): Update to 1.3.0.
Efraim Flashner [Tue, 23 Feb 2021 13:09:58 +0000 (15:09 +0200)]
gnu: ruby-rails-dom-testing: Update to 2.0.3.
* gnu/packages/rails.scm (ruby-rails-dom-testing): Update to 2.0.3.
Efraim Flashner [Tue, 23 Feb 2021 13:08:41 +0000 (15:08 +0200)]
gnu: ruby-loofah: Update to 2.3.1.
* gnu/packages/ruby.scm (ruby-loofah): Update to 2.3.1.
[arguments]: Adjust custom 'remove-unnecessary-dependencies phase for
upstream changes.
Efraim Flashner [Tue, 23 Feb 2021 13:06:55 +0000 (15:06 +0200)]
gnu: ruby-mail: Update to 2.7.1.
* gnu/packages/ruby.scm (ruby-mail): Update to 2.7.1.
[propagated-inputs]: Remove ruby-mime-types, add ruby-mini-mime.
[arguments]: Adjust comment about skipping tests.
Efraim Flashner [Tue, 23 Feb 2021 13:05:37 +0000 (15:05 +0200)]
gnu: Add ruby-mini-mime.
* gnu/packages/ruby.scm (ruby-mini-mime): New variable.
Efraim Flashner [Tue, 23 Feb 2021 12:59:31 +0000 (14:59 +0200)]
gnu: ruby-protobuf: Add missing input.
* gnu/packages/protobuf.scm (ruby-protobuf)[propagated-inputs]: Add
ruby-thread-safe.
Greg Hogan [Sun, 21 Feb 2021 22:12:34 +0000 (22:12 +0000)]
gnu: stockfish: Update to 13.
* gnu/packages/games.scm (stockfish): Update to 13.
[inputs]: Update neural network file.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Masaya Tojo [Tue, 23 Feb 2021 10:54:22 +0000 (19:54 +0900)]
gnu: Add emacs-ido-at-point.
* gnu/packages/emacs-xyz.scm (emacs-ido-at-point): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Mathieu Othacehe [Tue, 23 Feb 2021 11:39:15 +0000 (12:39 +0100)]
gnu: cli11: Remove (guix utils) dependency.
* gnu/packages/cpp.scm (cli11)[arguments]: Do not import (guix utils) that is
not meant to go on the build side.
Mathieu Othacehe [Tue, 23 Feb 2021 10:54:53 +0000 (11:54 +0100)]
tests: cuirass: Restore "cuirass running".
This is a follow-up of
ab054868afe6a4ba9d8aa9943e265bd6a871d0ae. The test was
failing because the Shepherd control socket wasn't ready yet. Restore it but
make sure that the control socket is available first.
* gnu/tests/cuirass.scm ("shepherd socket ready"): New test.
("cuirass running"): Restore it.
Mathieu Othacehe [Tue, 23 Feb 2021 10:24:47 +0000 (11:24 +0100)]
tests: cuirass: Remove "cuirass running" test.
* gnu/tests/cuirass.scm ("cuirass running"): Remove it as it fails if all the
dependencies are not started yet.
Mathieu Othacehe [Tue, 23 Feb 2021 10:22:22 +0000 (11:22 +0100)]
services: cuirass: Fix services requirements.
* gnu/services/cuirass.scm (cuirass-shepherd-service): Add "postgres-roles" to
cuirass requirements. Set cuirass-web requirements to cuirass only. Remove
"guix-daemon" and "networking" from cuirass-remote-server requirements as are
already required by cuirass.
Mathieu Othacehe [Tue, 23 Feb 2021 10:00:18 +0000 (11:00 +0100)]
services: postgresql-roles: Fix race condition.
Make sure that the postgresql-roles script is completed before declaring the
postgresql-roles service as started.
* gnu/services/databases.scm (postgresql-create-roles): Return the command
line instead of a program-file.
(postgresql-role-shepherd-service): Use fork+exec-command to start the role
creation script and wait for its completion before returning.
Mathieu Othacehe [Mon, 22 Feb 2021 14:41:06 +0000 (15:41 +0100)]
services: cuirass: Improve simple-cuirass-services.
Instead of returning multiple services in simple-cuirass-services, rely on the
instantiate-missing-services procedure to instantiate postgresql and
postgresql-role-service-type when missing.
Turn simple-cuirass-services procedure into
simple-cuirass-configuration->specs, that takes a simple-cuirass-configuration
record and returns a Cuirass specification.
Suggested-by: Ludovic Courtès <ludo@gnu.org>
* gnu/services/cuirass.scm (%default-cuirass-config): Remove it.
(simple-cuirass-services): Rename it to ...
(simple-cuirass-configuration->specs): ... this procedure.
* gnu/tests/cuirass.scm (cuirass-services): Remove postgresql and
postgresql-role services that are automatically instantiated.
(simple-cuirass-service): New variable.
(%cuirass-simple-test): Adapt it to use simple-cuirass-configuration->specs
instead of simple-cuirass-services.
* doc/guix.texi (Simple Cuirass): Update it.
Pierre Neidhardt [Tue, 23 Feb 2021 08:25:40 +0000 (09:25 +0100)]
gnu: sbcl-common-lisp-jupyter: Update to
20210217.
* gnu/packages/lisp-xyz.scm (sbcl-common-lisp-jupyter): Update to
20210217.
Pierre Neidhardt [Tue, 23 Feb 2021 08:12:23 +0000 (09:12 +0100)]
gnu: sbcl-trivial-clipboard: Update to
20210219.
* gnu/packages/lisp-xyz.scm (sbcl-trivial-clipboard): Update to
20210219.
Tobias Geerinckx-Rice [Tue, 23 Feb 2021 06:54:40 +0000 (07:54 +0100)]
gnu: youtube-dl: Update to 2021.02.22.
* gnu/packages/video.scm (youtube-dl): Update to 2021.02.22.
Ludovic Courtès [Mon, 22 Feb 2021 22:38:46 +0000 (23:38 +0100)]
scripts: Don't trigger option hints for short options.
Previously, 'guix install foo -r bar' would crash with a backtrace
because NAME would be #\r (a character instead of a string).
* guix/scripts.scm (parse-command-line)[parse-options-from]: Call
'option-hint' only when NAME is a string.
Ludovic Courtès [Mon, 22 Feb 2021 22:34:32 +0000 (23:34 +0100)]
profiles: Fix typo in manifest comment.
* guix/build/profiles.scm (build-profile): Fix typo.
Ludovic Courtès [Mon, 22 Feb 2021 22:33:47 +0000 (23:33 +0100)]
describe: Fix typo in 'manifest-entry-with-provenance'.
* guix/describe.scm (manifest-entry-with-provenance): Fix first argument
to 'assq'.
Ludovic Courtès [Mon, 22 Feb 2021 17:18:36 +0000 (18:18 +0100)]
gnu: ocaml-llvm: Remove duplicate package.
Commit
8f710cc598fb675d267f49a82cffc197f03ad52c introduced a duplicate
ocaml-llvm@9.0.1 package, which was flagged by a test failure in
tests/packages.scm.
* gnu/packages/ocaml.scm (make-ocaml-llvm): Define as 'mlambdaq'.
Ludovic Courtès [Mon, 22 Feb 2021 17:14:03 +0000 (18:14 +0100)]
gnu: linux-libre-headers@5.11: Refer to 5.11, not 5.10.
Fixes a typo introduced in
b819512ca2cce1051c5fea26328da2e5d6a9a101.
* gnu/packages/linux.scm (linux-libre-headers-5.11): Really refer to 5.11.
Ludovic Courtès [Mon, 22 Feb 2021 16:58:11 +0000 (17:58 +0100)]
packages: 'package-field-location' preserves the original file name.
This fixes a regression introduced in
9a38bed2cf32e9462badfa43e74cdd4580e804fc.
* guix/packages.scm (package-field-location): Do not shadow the 'file'
variable.
Leo Famulari [Mon, 22 Feb 2021 21:46:55 +0000 (16:46 -0500)]
gnu: isync: Update to 1.3.5 [fixes CVE-2021-20247].
* gnu/packages/mail.scm (isync): Update to 1.3.5.
Christopher Baines [Sat, 13 Feb 2021 15:26:17 +0000 (15:26 +0000)]
gnu: Add temper-exporter.
* gnu/packages/monitoring.scm (temper-exporter): New variable.
Christopher Baines [Sun, 14 Feb 2021 10:55:31 +0000 (10:55 +0000)]
system: hurd: Have the static networking provision 'networking.
Some services require networking, I'm looking at the Guix Build Coordinator
agent. Networking seems to work in the childhurd VM, so I think this change
makes sense.
* gnu/system/hurd.scm (%base-services/hurd): Add 'networking to the provision
parameter for the static-networking service.
Christopher Baines [Sat, 13 Feb 2021 11:06:37 +0000 (11:06 +0000)]
substitute: Rework connection error handling.
This is part of trying to reduce the interdependency of code within the
substitute module.
This commit addresses some of the error handling that was performed through
open-connection-for-uri/maybe. The new approach is to use
call-with-connection-error-handling, and wrap calls to http-multiple-get and
http-fetch with that procedure, which takes care of handling connection
errors.
I think this is even slightly more rigerous than the previous setup, because
this approach handles connection errors that occur when http-multiple-get
reconnects to a host.
* guix/scripts/substitute.scm (open-connection-for-uri/maybe): Transform in to
call-with-connection-error-handling.
(fetch-narinfos): Use call-with-connection-error-handling.
(process-query): Replace open-connection-for-uri/maybe with
open-connection-for-uri/cached.
(open-connection-for-uri/cached): Set a default timeout, matching the
behaviour in open-connection-for-uri/maybe.
(process-substitution): Use call-with-connection-error-handling.
Christopher Baines [Thu, 7 Jan 2021 21:00:23 +0000 (21:00 +0000)]
substitute: Remove fetch-narinfos use open-connection-for-uri/maybe.
At least by default. Instead, make the open-connection procedure a parameter,
and make the default guix:open-connection-for-uri. Do so similarly for
lookup-narinfos and lookup-narinfos/diverse which work towards calling
fetch-narinfos.
This means this code can be moved to a different module, without having
use/move the connection caching code.
* guix/scripts/substitute.scm (fetch-narinfos): Add #:open-connection
argument, and call http-multiple-get with it.
(lookup-narinfos) Add #:open-connection argument, and call fetch-narinfos with
it.
(lookup-narinfos/diverse): Add #:open-connection argument, and call
lookup-narinfos with it.
(process-query): Call lookup-narinfos/diverse with #:open-connection
open-connection-for-uri/maybe.
Christopher Baines [Thu, 7 Jan 2021 20:41:50 +0000 (20:41 +0000)]
substitute: Inline fetch in to process-substitutes.
As it's only called in one place, and this should make the code easier to
read.
* guix/scripts/substitute.scm (fetch): Move procedure inside…
(process-substitution): …here.
Christopher Baines [Thu, 7 Jan 2021 20:40:50 +0000 (20:40 +0000)]
substitute: Remove redundant fetch arguments.
It's just called in one place, with hardcoded argument values, so just inline
them.
* guix/scripts/substitute.scm (fetch): Remove arguments that don't vary, copy
the values from the call site in process-substitution.
(process-substitution): Remove unnecessary argument values from fetch call.
Christopher Baines [Thu, 7 Jan 2021 20:36:58 +0000 (20:36 +0000)]
substitute: Remove now redundant connection caching helpers.
Failures now should be handled where they occur, and if there's a problem
that's symptomatic of an issue with the connection, the port should be closed.
* guix/scripts/substitute.scm (call-with-cached-connection): Remove procedure.
(with-cached-connection): Remove syntax rule.
Christopher Baines [Thu, 7 Jan 2021 20:21:50 +0000 (20:21 +0000)]
substitute: Change connection cache handling in process-substitution.
Just pass open-connection-for-uri/maybe to http-fetch, this removes the need
for with-cached-connection and passing the port in.
* guix/scripts/substitute.scm (fetch): Don't take a port as an argument, and
pass open-connection-for-uri/maybe to http-fetch.
(process-substitution): Don't call fetch with with-cached-connection.
Christopher Baines [Thu, 7 Jan 2021 20:18:57 +0000 (20:18 +0000)]
http-client: Accept #:open-connection in http-fetch.
So that an alternative procedure can be passed in, perhaps to perform
connection caching.
* guix/http-client.scm (http-fetch): Add an #:open-connection keyword
argument.
Christopher Baines [Thu, 7 Jan 2021 19:44:56 +0000 (19:44 +0000)]
substitute: Stop using call-with-cached-connection in fetch-narinfos.
Instead, just pass open-connection-for-uri/maybe to http-multiple-get. This
code should be functionaly similar to the previous code. The eventual aim of
this is to make the connection caching not mandatory in fetch-narinfos.
* guix/scripts/substitute.scm (fetch-narinfos): Remove use of
call-with-cached-connection.
Christopher Baines [Thu, 7 Jan 2021 19:42:14 +0000 (19:42 +0000)]
substitute: open-connection-for-uri/maybe add #:verify-certificate?.
As this is used by http-fetch and http-multiple-get when they call the
specified open connection procedure.
* guix/scripts/substitute.scm (open-connection-for-uri/maybe): Support
#:verify-certificate?.
Christopher Baines [Thu, 7 Jan 2021 19:40:43 +0000 (19:40 +0000)]
http-client: Add error handling to http-multiple-get.
Making sure to close the port if it looks to be unusable. This closing of the
port will allow for caching connections, without caching broken connections,
as the cache can avoid handing out closed ports.
* guix/http-client.scm (http-multiple-get): Try to catch exceptions that
happen if the port is unusable, this is a adaptation of code within the (guix
scripts substitute) module.
Christopher Baines [Thu, 7 Jan 2021 19:40:07 +0000 (19:40 +0000)]
guix: Move http-multiple-get to (guix http-client).
From (guix scripts substitute). This will make it easier to reuse this code.
* guix/scripts/substitute.scm (http-multiple-get): Remove, and move to…
* guix/http-client.scm (http-multiple-get): …here.
Christopher Baines [Thu, 7 Jan 2021 19:38:44 +0000 (19:38 +0000)]
substitute: Remove redundant let block from fetch.
* guix/scripts/substitute.scm (fetch): Remove redundant let block.
Christopher Baines [Thu, 7 Jan 2021 19:37:20 +0000 (19:37 +0000)]
substitute: Remove connection handling from fetch.
http-fetch does this, so just use that code instead.
* guix/scripts/substitute.scm (fetch): Remove connection handling when the
port is closed.
Christopher Baines [Thu, 7 Jan 2021 19:36:17 +0000 (19:36 +0000)]
substitute: Remove buffer handling from fetch.
http-fetch does this, so just set the right option.
* guix/scripts/substitute.scm (fetch): Remove buffering code, and pass
#:buffered? to http-fetch.
Ricardo Wurmus [Mon, 22 Feb 2021 15:37:29 +0000 (16:37 +0100)]
gnu: star: Update to 2.7.8a.
* gnu/packages/bioinformatics.scm (star): Update to 2.7.8a.
Stefan Reichör [Sun, 21 Feb 2021 20:55:58 +0000 (21:55 +0100)]
gnu: Add dstask.
* gnu/packages/task-management.scm (dstask): New variable.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>