~ruther/guix-local

e778910b — Ludovic Courtès 4 years ago
inferior: Move initialization bits away from 'inferior-eval-with-store'.

* guix/inferior.scm (port->inferior): In the inferior, define
'cached-store-connection', 'store-protocol-error?', and
'store-protocol-error-message'.
(inferior-eval-with-store): Use them.
c71910a0 — Ludovic Courtès 4 years ago
inferior: Inferior caches store connections.

Fixes <https://issues.guix.gnu.org/48007>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

Previously, at each 'inferior-eval-with-store' call, the inferior would
create a new <store-connection> object with empty caches.  Consequently,
when repeatedly calling 'inferior-package-derivation', we would not
benefit from any caching and instead recompute all the derivations for
every package.  This patch fixes it by caching <store-connection>
objects in the inferior.

* guix/inferior.scm (port->inferior): Define '%store-table' in the inferior.
(inferior-eval-with-store): Cache store connections in %STORE-TABLE.
Remove now unneeded 'dynamic-wind' with 'close-port' call.
bd86bbd3 — Ludovic Courtès 4 years ago
inferior: Keep the store bridge connected.

Previously, each 'inferior-eval-with-store' would lead the inferior to
connect to the named socket the parent is listening to.  With this
change, the connection is established once for all and reused
afterwards.

* guix/inferior.scm (<inferior>)[bridge-file-name]: Remove.
(open-bidirectional-pipe): New procedure.
(inferior-pipe): Use it instead of 'open-pipe*' and return two values.
(port->inferior): Adjust call to 'inferior'.
(open-inferior): Adjust to 'inferior-pipe' changes.
(close-inferior): Remove 'inferior-bridge-file-name' handling.
(open-store-bridge!): Switch back to 'call-with-temporary-directory'.
Define '%bridge-socket' in the inferior, connected to the caller.
(proxy): Change first argument to be an inferior.  Add 'reponse-port'
and call to 'drain-input'.  Pass 'reponse-port' to 'select' and use it
as a loop termination clause.
(inferior-eval-with-store): Remove 'socket' and 'connect' calls from the
inferior code, and use '%bridge-socket' instead.
10aad721 — Ludovic Courtès 4 years ago
inferior: Create the store proxy listening socket only once.

Previously, each 'inferior-eval-with-store' call would have the calling
process create a temporary directory with a listening socket in there.
Now that listening socket is created once and reused in subsequent
calls.

* guix/inferior.scm (<inferior>)[bridge-file-name, bridge-socket]: New
fields.
(port->inferior): Adjust accordingly.
(close-inferior): Close 'inferior-bridge-socket' and delete
'inferior-bridge-file-name' if set.
(open-store-bridge!, ensure-store-bridge!): New procedures.
(inferior-eval-with-store): Use them.
19371a4d — Vinicius Monego 4 years ago
gnu: darktable: Add release-monitoring-url.

* gnu/packages/photo.scm (darktable)[properties]: New field.
82e49c7f — Ricardo Wurmus 4 years ago
gnu: guile-drmaa: Update to 0.1.1.

* gnu/packages/guile-xyz.scm (guile-drmaa): Update to 0.1.1.
6305c76a — Michael Rohleder 4 years ago
gnu: gnome-mines: Fix build.

* gnu/packages/web.scm (gnome-mines)[native-inputs]: Add python-wrapper.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
e3027578 — Michael Rohleder 4 years ago
gnu: libzim: Fix build.

* gnu/packages/web.scm (libzim)[inputs]: Add python-wrapper.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
e60b10fd — Efraim Flashner 4 years ago
gnu: uriparser: Update to 0.9.6.

* gnu/packages/web.scm (uriparser): Update to 0.9.6.
0444be86 — Efraim Flashner 4 years ago
gnu: Add %final-inputs-riscv64.

* gnu/packages/commencement.scm (%final-inputs-riscv64): New variable.
* guix/build-system/gnu.scm (standard-inputs): Use %final-inputs-riscv64
when targeting riscv64-linux.
90a41fe3 — Ricardo Wurmus 4 years ago
gnu: nyacc: Remove unnecessary phase.

This partially reverts commit f15ca337bec89f238b9b9ced08c2e02c35629a33.  What
mattered was the addition of guile-bytestructures.

* gnu/packages/mes.scm (nyacc)[arguments]: Remove phase
'install-system-module.
1121fa43 — Leo Famulari 4 years ago
gnu: Borg: Improve the description.

Attic... Now that's a name I've not heard in a long time.

* gnu/packages/backup.scm (borg)[description]: Improve it.
c11b585a — Leo Famulari 7 years ago
gnu: Add Vorta.

* gnu/packages/backup.scm (vorta): New variable.
44c2211c — Leo Famulari 4 years ago
gnu: Add linux-libre 5.16.2.

* gnu/packages/aux-files/linux-libre/5.16-arm.conf,
gnu/packages/aux-files/linux-libre/5.16-arm64.conf,
gnu/packages/aux-files/linux-libre/5.16-i686.conf,
gnu/packages/aux-files/linux-libre/5.16-x86_64.conf : New files.
* Makefile.am (AUX_FILES): Add them.
* gnu/packages/linux.scm (linux-libre-5.16-version,
linux-libre-5.16-gnu-revision, deblob-scripts-5.16,
linux-libre-5.16-pristine-source, linux-libre-5.16-source,
linux-libre-headers-5.16, linux-libre-5.16): New variables.
16ce73d8 — Leo Famulari 4 years ago
gnu: util-linux: Fix CVE-2021-3995 and CVE-2021-3996.

* gnu/packages/patches/util-linux-CVE-2021-3995.patch,
gnu/packages/patches/util-linux-CVE-2021-3996.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/linux.scm (util-linux)[replacement]: New field.
(util-linux/fixed): New variable.
7afed757 — Nicolas Goaziou 4 years ago
gnu: giac: Update to 1.7.0-47.

* gnu/packages/algebra.scm (giac): Update to 1.7.0-47.
3993d33d — Ludovic Courtès 4 years ago
gnu: polkit: Fix CVE-2021-4034.

* gnu/packages/patches/polkit-CVE-2021-4034.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/polkit.scm (polkit-mozjs)[replacement]: New field.
* gnu/packages/polkit.scm (polkit-mozjs/fixed): New variable.
73d775f5 — Brandon Lucas 4 years ago
gnu: fennel: Update to 03c1c95.

* gnu/packages/lua.scm (fennel): Update to 03c1c95.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
532153d4 — Brandon Lucas 4 years ago
gnu: Add fnlfmt.

* gnu/packages/lua.scm (fnlfmt): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
bac9f830 — Vivien Kraus 4 years ago
import: pypi: Convert hyphens to underscores in PyPI URLs if needed.

* guix/import/pypi.scm (find-project-url): New function.
(make-pypi-sexp): Use find-project-url.
* tests/pypi.scm (foo-json): New procedure.
(test-json-1, test-json-2): Define in terms of it.
("find-project-url, with numpy", "find-project-url, uWSGI"):
("find-project-url, flake8-array-spacing")
("find-project-url, foo/goo"): New tests.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Next