~ruther/guix-local

0efa1daa — Richard Sent 1 year, 9 months ago
doc: Document ‘assume-valid-file-name’ in ‘local-file’.

* doc/guix.texi (G-Expressions): Document the use of assume-valid-file-name with
local-file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I132f78e198cbf3ba2e5a677d671563d753de534c
be868f69 — Giacomo Leidi 1 year, 9 months ago
gnu: Add tests for oci-container-service-type.

* gnu/tests/docker.scm (run-oci-container-test): New variable;
(%test-oci-container): new variable.

Change-Id: Idefc3840bdc6e0ed4264e8f27373cd9a670f87a0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
c07731a7 — Giacomo Leidi 1 year, 9 months ago
gnu: docker: Allow passing tarballs for images in oci-container-configuration.

This commit allows for loading an OCI image tarball before running an
OCI backed Shepherd service. It does so by adding a one shot Shepherd
service to the dependencies of the OCI backed service that at boot runs
docker load on the tarball.

* gnu/services/docker.scm (oci-image): New record;
(lower-oci-image): new variable, lower it;
(string-or-oci-image?): sanitize it;
(oci-container-configuration)[image]: allow also for oci-image records;
(oci-container-shepherd-service): use it;
(%oci-image-loader): new variable.

Change-Id: Ie504f479ea0d47f74b0ec5df9085673ffd3f639d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
68adfaea — Giacomo Leidi 1 year, 9 months ago
gnu: docker: Allow setting Shepherd dependencies in oci-container-configuration.

* gnu/services/docker.scm (oci-container-configuration)
[requirement]: New field;
(list-of-symbols): sanitize it;
(oci-container-shepherd-service): use it.
* doc/guix.texi: Document it.

Change-Id: Ic0ba336a2257d6ef7c658cfc6cd630116661f581
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
e68c1af4 — Giacomo Leidi 1 year, 9 months ago
gnu: docker: Allow setting host environment variables in oci-container-configuration.

* gnu/services/docker.scm (oci-container-configuration)
[host-environment]: New field;
(oci-sanitize-host-environment): sanitize it;
(oci-container-shepherd-service): use it.
* doc/guix.texi: Document it.

Change-Id: I4d54d37736cf09f042a71cb0b6e673abc0948d9c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
003c89a8 — Giacomo Leidi 1 year, 9 months ago
gnu: docker: Provide escape hatch in oci-container-configuration.

* gnu/services/docker.scm (exports): Add missing procedures;
(oci-container-service-type)[description]: Docker and OCI images should
mean the same thing;
(oci-container-configuration): clarify field types;
[extra-arguments]: new field;
(oci-sanitize-extra-arguments): sanitize it;
(oci-container-shepherd-service): use it.
* doc/guix.texi: Document it.

Change-Id: I64e9d82c8ae538d59d1c482f23070a880156ddf7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
a237f0d4 — Giacomo Leidi 1 year, 9 months ago
services: Add restic-backup service.

* gnu/services/backup.scm: New file.
* gnu/local.mk: Add this.
* doc/guix.texi: Document this.

Change-Id: I9efd5559bb445b484107a7c27c2d0a65ccad1e66
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
cbac0b1d — Ludovic Courtès 1 year, 9 months ago
environment: Fix type error with ‘-C’ when ‘getpwuid’ fails.

Fixes a bug with ‘guix shell -C …’ in cases where ‘getpwuid’
returns #f (for example because nscd isn’t running) and
‘user’ is #f.

* guix/scripts/environment.scm (launch-environment/container): Use
‘name’ when building the ‘directory’ value, not ‘user’ since it can be #f.

Change-Id: I5da807d982a1edbb4122ac29b5a1e5fc4b0ce1b7
9756d9d6 — Guillaume Le Vaillant 1 year, 9 months ago
gnu: cl-nodgui: Update to 0.6.2.0-1.9d0c973.

* gnu/packages/lisp-xyz.scm (sbcl-nodgui): Update to 0.6.2.0-1.9d0c973.
  [inputs]: Add sbcl-flexi-streams, sbcl-static-vectors,
  sbcl-trivial-garbage. Move sbcl-clunit2 to...
  [native-inputs]: ... here.

Change-Id: I2299175a06786ce93fde34aa54005c00b40edd71
8ca6e63b — Guillaume Le Vaillant 1 year, 9 months ago
gnu: cl-access: Update to 1.6.0-1.a4f87fc.

* gnu/packages/lisp-xyz.scm (sbcl-access): Update to 1.6.0-1.a4f87fc.
  [source, home-page]: Switch to maintained repository.
  [inputs]: Remove sbcl-anaphora and sbcl-cl-interpol. Add sbcl-cl-ppcre.

Change-Id: Idbc140b1264156e975b69ab65423765d5f5a77d1
1fa8997f — Guillaume Le Vaillant 1 year, 9 months ago
gnu: cl-stmx: Update to 2.0.5-3.95f7dea.

* gnu/packages/lisp-xyz.scm (sbcl-stmx): Update to 2.0.5-3.95f7dea.
  [arguments]: Remove 'fix-build' phase.

Change-Id: I72e3f323f38ced32ea03ab2661d5802e93e13572
199e8f95 — Guillaume Le Vaillant 1 year, 9 months ago
gnu: cl-collectors: Update to 1.0-2.4c5e70c.

* gnu/packages/lisp-xyz.scm (sbcl-collectors): Update to 1.0-2.4c5e70c.

Change-Id: I95c9beb1aa5e59b658ee091ab14d803e6eded3fe
2ac3d61c — Guillaume Le Vaillant 1 year, 9 months ago
gnu: cl-cf: Update to 1.0-2.fbc025b.

* gnu/packages/lisp-xyz.scm (sbcl-cf): Update to 1.0-2.fbc025b.

Change-Id: Ide38475fb171f71c5dc35bb12d66a81b0f08cf64
c5e63e19 — Efraim Flashner 1 year, 9 months ago
gnu: gssdp-1.4: Fix building.

This is a follow-up to 9901416233867233192b63fde7f616751127b189.

* gnu/packages/gnome.scm (gssdp-1.4)[arguments]: Override inherited
arguments to set the configure-flags specifically.

Change-Id: Ifbdaf278a402a26b344b6dcd7a5e3d4e22148561
99014162 — Efraim Flashner 1 year, 9 months ago
gnu: ctl: Update to 1.5.3.

* gnu/packages/graphics.scm (ctl): Update to 1.5.3.
[source]: Download using git-fetch.
[arguments]: Don't skip the tests.
[inputs]: Add libtiff.

Change-Id: Iae08b6a2a7c0418bde10b31c3356425750703a9f
7e762ab0 — Efraim Flashner 1 year, 9 months ago
gnu: roxterm: Fix lint errors.

* gnu/packages/terminals.scm (roxterm)[source]: Add the file-name field.
Follow source url redirect.
[home-page]: Follow redirect.

Change-Id: Id68c87679a95656212c0c0edb916066e90a037d7
0ad3cc75 — Efraim Flashner 1 year, 9 months ago
gnu: shared-mime-info: Fix cross-compiling.

* gnu/packages/freedesktop.scm (shared-mime-info)[native-inputs]: When
cross-compiling add libxml2 and this-package.

Change-Id: I254a685a492b9080342b134ff23d9ccab0ecec3d
4ab8657b — Efraim Flashner 1 year, 9 months ago
gnu: libbraille: Fix build on some architectures.

* gnu/packages/accessibility.scm (libbraille)[arguments]: When building
with config as a native-input replace the config.guess and config.sub
files.
[native-inputs]: When building for aarch64-linux, powerpc64le-linux or
riscv64-linux add config.

Change-Id: I7e7953a2b91868fa3f2698d3cb82da134564c06b
1bfffc00 — Efraim Flashner 1 year, 9 months ago
gnu: gtk-vnc: Build with gjs on more architectures.

* gnu/packages/gnome.scm (gtk-vnc)[native-inputs] Use gjs as an input on
architectures where it is supported.

Change-Id: I723f53be8e225732572ede81a03d712a946be528
c9730b70 — Efraim Flashner 1 year, 9 months ago
gnu: glade3: Build with gjs on more architectures.

* gnu/packages/gnome.scm (glade3)[inputs]: Use gjs as an input on
architectures where it is supported.

Change-Id: I6d6596045b7a3f0dc22207350b353fcd82961958
Next