Commit graph

89866 commits

Author SHA1 Message Date
Leo Famulari
18248844ea
gnu: Remove unused module import from (gnu packages linux).
This caused an ambiguous import warning:

------
WARNING: (gnu packages linux): `build' imported from both (gnu packages build-tools) and (guix store)
------

This is a followup to commit 6961c8368c.

* gnu/packages/linux.scm: Do not import (gnu packages build-tools).
2021-12-23 12:06:12 -05:00
Vinicius Monego
01477bce71
gnu: Add qelectrotech.
* gnu/packages/engineering.scm (qelectrotech): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 17:52:17 +01:00
Attila Lendvai
037c2b6d3a
tests: gnupg: Factor out and export KEY-FINGERPRINT-VECTOR.
* guix/tests/gnupg.scm (key-fingerprint-vector): New procedure.  Export it.
(key-fingerprint): Use it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 17:31:51 +01:00
Attila Lendvai
07145c8a8c
tests: Smarten up git repository testing framework.
* guix/tests/git.scm (with-git-repository): New macro, exported.  It can be used
repeatedly inside a WITH-TEMPORARY-GIT-REPOSITORY.
(populate-git-repository): Extend the DSL with (ADD "some-noise"), (RESET
"[commit hash]"), (CHECKOUT "branch" ORPHAN).

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 17:31:44 +01:00
Mathieu Othacehe
c0a693dfec
gnu: guix: Update to 1.3.0-17.2a49ddb.
Also add a note about updating the guix package when it fails to build.

* gnu/packages/package-management.scm (guix): Update to 1.3.0-17.2a49ddb.
2021-12-23 16:59:24 +01:00
Mathieu Othacehe
2a49ddb513
tests: rsync: Fix it.
* gnu/tests/rsync.scm ("Test file not copied to read-only share"): This
returns the error code 1 and not 10.
2021-12-23 16:05:13 +01:00
Timothy Sample
05b1f024be
self: Add guile-lzma as a dependency.
This is a follow-up to 35ce3e5de6, fixing
Disarchive recovery when the download script is run from a 'guix pull'
profile.

* guix/self.scm (specification->package): Add "guile-lzma".
(compiled-guix): Add GUILE-LZMA to DEPENDENCIES in
the #:dependencies argument to 'guix-command'.
2021-12-23 08:59:44 -05:00
Sharlatan Hellseher
7f6260d9fe
gnu: cl-ana: Update to 0.0.0-2.848185e.
* gnu/packages/lisp-xyz.scm (sbcl-cl-ana): Update to 0.0.0-2.848185e.
  [inputs]: Use new style.
  [native-inputs]: Add openmpi and pkg-config.
  [propagated-inputs]: Add gnuplot.
  [arguments]: Update 'fix-paths' phase.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-23 14:41:42 +01:00
Mathieu Othacehe
7682145b9b
tests: reconfigure: Fix it.
* gnu/tests/reconfigure.scm (run-install-bootloader-test): Use a non volatile
VM so that a bootloader configuration file is installed.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe
c717f27c5f
scripts: system: Add a missing module.
* guix/scripts/system.scm: Add a missing module.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe
dbd3454c3b
tests: nfs: Fix nfs-root-fs test.
This test has probably never been working. Rename it nfs-full, and test that
an NFS server can be started in a VM and mounted in another VM.

* gnu/tests/nfs.scm (run-nfs-root-fs-test): Rename it ...
(run-nfs-full-test): ... this way.
(%test-nfs-root-fs): Rename it ...
(%test-nfs-full): ... this way.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe
207ee9d9cd
services: nfs: Fix statd and mountd ports.
* gnu/services/nfs.scm (nfs-shepherd-services): Fix rpcstatd-port and
rpcmountd-port arguments.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe
102c360624
tests: docker: Fix it.
The docker tests are broken because the docker overlay doesn't support running
on our own storage overlay. Use the new <virtual-machine> volatile? field to
spawn a VM with a persistent storage and no overlay.

* gnu/tests/docker.scm (run-docker-test): Add the docker-tarball to the gc
roots as the host store is not shared anymore. Spawn a VM without volatile
storage.
(run-docker-system-test): Ditto.
(%test-docker-system): Adapt it to use the image API.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe
bce55cec88
scripts: system: Use the disk-image size argument for VM generation.
* guix/scripts/system.scm (system-derivation-for-action): Use the given
image-size unconditionnaly when calling system-qemu-image/shared-store-script.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe
c37cd41764
scripts: system: Pass the volatile field to VM generation.
* guix/scripts/system.scm (system-derivation-for-action): Add new volatile?
argument and pass it to system-qemu-image/shared-store-script.
(perform-action): Add new volatile? argument and pass it to
system-derivation-for-action.
(process-action): Pass the volatile? argument to perform-action.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe
3ed8ddd606
scripts: system: Deprecate the docker-image command.
* guix/scripts/system.scm (system-derivation-for-action): Use the image API to
generate the docker images and deprecate the docker-image command.
(process-action): Ditto.
* doc/guix.texi (Invoking guix system): Adapt it.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe
05a9d1f378
Remove VM generation dead-code.
This code duplicates the (gnu system image) and (gnu build image) code. Using
VM for image generation is not needed, not portable and really slow. Remove
all the VM image generation code to make sure that only the image API is used.

* gnu/build/vm.scm: Remove it. Move the qemu-command procedure to ...
* gnu/build/marionette.scm: ... here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adapt it.
* tests/modules.scm: Ditto.
* gnu/tests/install.scm: Ditto.
* gnu/system/vm.scm: Adapt it and remove expression->derivation-in-linux-vm,
qemu-img, system-qemu-image/shared-store and system-docker-image procedures.
* doc/guix.texi (G-Expressions): Adapt it.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe
da92479674
system: vm: Use the image API to generate QEMU images.
Also add a volatile? argument to the virtual-machine record. When volatile? is
true generate a QEMU script that mounts an overlay on top of a read only
storage. When volatile? is false, use a persistent, read-write storage.

* gnu/system/vm.scm (common-qemu-options): Add a rw-image? argument to use a
persistent storage.
(system-qemu-image/shared-store-script): Add a volatile? argument and honor
it. Use the image API to build the QEMU image.
(<virtual-machine>)[volatile?]: New field.
(virtual-machine-compiler): Pass the volatile? argument to the
system-qemu-image/shared-store-script procedure.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe
59912117d4
system: image: Add docker support.
* gnu/system/image.scm (docker-image, docker-image-type): New variables.
(system-docker-image): New procedure.
(image->root-file-system): Add docker image support.
(system-image): Ditto.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe
dcc843a716
image: Add a shared-network? field.
* gnu/image.scm (<image>)[shared-network?]: New field.
2021-12-23 10:53:59 +01:00
Mathieu Othacehe
594e9428c5
image: Add a shared-store? field.
* gnu/image.scm (<image>)[shared-store?]: New field.
2021-12-23 10:53:59 +01:00
Mathieu Othacehe
cc4e8a84f4
build: image: Add optional closure copy support.
* gnu/build/image.scm (initialize-root-partition): Add a closure-copy?
argument and honor it.
2021-12-23 10:53:59 +01:00
Vinicius Monego
258150fd6e
gnu: pre-commit: Update to 2.16.0.
* gnu/packages/version-control.scm (pre-commit): Update to 2.16.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:58 -05:00
Vinicius Monego
f700471b1c
gnu: gsequencer: Update to 3.14.5.
* gnu/packages/music.scm (gsequencer): Update to 3.14.5.
[source]<origin>: Update url.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:57 -05:00
Vinicius Monego
5228707781
gnu: gsequencer: Build with libsoup 2.
* gnu/packages/music.scm (gsequencer)[native-inputs]: Use the new style.
[inputs]: Replace libsoup with libsoup-minimal-2 and webkitgtk with
webkitgtk-with-libsoup2. Use the new style.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:57 -05:00
Vinicius Monego
bcbe090fbb
gnu: gnome-commander: Update to 1.12.3.1.
* gnu/packages/gnome.scm (gnome-commander): Update to 1.12.3.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:57 -05:00
Vinicius Monego
69fbc885ce
gnu: openexr: Update to 3.1.3.
* gnu/packages/graphics.scm (openexr): Update to 3.1.3.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:54 -05:00
Marius Bakke
f37c999e0a
gnu: libksba: Fix cross-compilation.
* gnu/packages/gnupg.scm (libksba)[native-inputs]: Remove.
2021-12-23 03:07:34 +01:00
Marius Bakke
0ef4da9f09
gnu: qemu-minimal: Actually remove unnecessary native-inputs.
This is a follow-up to commit d64bd1254a.

* gnu/packages/virtualization.scm (qemu-minimal)[native-inputs]: Filter static
outputs and remove "gettext-minimal" instead of "gettext".
2021-12-23 03:07:34 +01:00
Marius Bakke
57f011818e
gnu: seabios: Build vgabios targets.
* gnu/packages/firmware.scm (seabios)[arguments]: Add new phase to build
various vgabiosen.  While at it, create a "bios-256k.bin" as expected by
QEMU.
2021-12-23 03:07:34 +01:00
Marius Bakke
b7719d81cf
gnu: seabios: Encode version information in the binary.
...to make the build deterministic.

* gnu/packages/firmware.scm (seabios)[arguments]:  Create a ".version" file as
expected by the build system.  While at it, set EXTRAVERSION as recommended by
upstream.
2021-12-23 03:07:34 +01:00
Marius Bakke
e839bbc880
gnu: seabios: Update to 1.15.0.
* gnu/packages/firmware.scm (seabios): Update to 1.15.0.
[arguments]: Remove trailing #t's.
[native-inputs]: Remove label.
2021-12-23 03:07:34 +01:00
Marius Bakke
91918e9405
gnu: gcl: Avoid referencing GCC from the top-level.
* gnu/packages/lisp.scm (gcl)[arguments]: Use SEARCH-INPUT-FILE instead of
referencing the GCC variable.
2021-12-23 03:07:34 +01:00
Marius Bakke
c0c9912b44
gnu: rsync: Remove 3.1.3.
* gnu/packages/rsync.scm (rsync-next): Remove variable.
(rsync): Update to 3.2.3.  While at it, remove input labels.
2021-12-23 03:07:34 +01:00
Marius Bakke
a89d65eec1
chromium-extension: Avoid another usage of the store-mapped /tmp.
* gnu/build/chromium-extension.scm (make-crx): Use a Chromium profile relative
to the build directory instead of /tmp.  While here, remove obsolete comment.
2021-12-23 03:07:34 +01:00
Jelle Licht
867c33d3d7
gnu: emacs-eldev: Adjust to changes in emacs-build-system.
* gnu/packages/emacs-xyz.scm (emacs-eldev)[install-eldev-executable]: Use
elpa-directory for ELDEV_LOCAL.
2021-12-23 00:48:46 +01:00
Leo Famulari
0751451ae3
gnu: xorg-server: Update to 21.1.2 [security fixes].
Fixes CVE-2021-4008, CVE-2021-4009, CVE-2021-4010, and CVE-2021-4011.

* gnu/packages/xorg.scm (xorg-server): Update to 21.1.2.
(xorg-server-for-tests): Use version 21.1.1.
2021-12-22 18:37:27 -05:00
Timothy Sample
488f1c589d
services: dbus: Wait 1 minute for elogind to get ready.
Fixes <https://issues.guix.gnu.org/issue/52051>.

* gnu/services/dbus.scm (dbus-configuration-directory): Set a 60 second
authentication timeout in the D-Bus configuration.
2021-12-22 18:33:07 -05:00
Nicolas Goaziou
a296b5fff9
gnu: emacs-evil-collection: Update to 0.0.7.
* gnu/packages/emacs-xyz.scm (emacs-evil-collection): Update to 0.0.7.
2021-12-22 23:33:53 +01:00
Nicolas Goaziou
956cacd271
gnu: emacs-cider: Update to 1.2.0.
* gnu/packages/emacs-xyz.scm (emacs-cider): Update to 1.2.0.
2021-12-22 23:31:37 +01:00
Nicolas Goaziou
d571302dee
gnu: emacs-geiser-guile: Update to 0.20.1.
* gnu/packages/emacs-xyz.scm (emacs-geiser-guile): Update to 0.20.1.
2021-12-22 23:29:34 +01:00
Nicolas Goaziou
dab9881ec7
gnu: emacs-geiser: Update to 0.21.
* gnu/packages/emacs-xyz.scm (emacs-geiser): Update to 0.21.
2021-12-22 23:25:27 +01:00
Xinglu Chen
86434dfbc9
doc: Document (gnu services configuration).
* guix.texi (Complex Configurations): New node.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-22 23:23:17 +01:00
Petr Hodina
b850fe6ec8
gnu: Add sugar-light-sddm-theme.
* gnu/packages/display-manager.scm (sugar-light-sddm-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-22 23:23:17 +01:00
Petr Hodina
d124f94d18
gnu: Add sugar-dark-sddm-theme.
* gnu/packages/display-manager.scm (sugar-dark-sddm-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-22 23:23:17 +01:00
Foo Chuan Wei
72a5895b7e
gnu: Add xblackjack.
* gnu/packages/games.scm (xblackjack): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-22 23:23:17 +01:00
Ludovic Courtès
e89f767ce8
packages: Avoid #:re-export-and-replace to allow upgrades from 1.2.0.
Fixes <https://issues.guix.gnu.org/52694>.
Reported by Carl Dong <contact@carldong.me>.

Use of #:re-export-and-replace would prevent upgrades from 1.2.0, whose
'source-module-closure' procedure did not recognize #:re-export-and-replace.

* guix/packages.scm: Remove #:re-export-and-replace and add top-level
call to 'module-re-export!'
2021-12-22 23:23:16 +01:00
Nicolas Goaziou
4c2af58b0f
gnu: emacs-posframe: Update to 1.1.3.
* gnu/packages/emacs-xyz.scm (emacs-posframe): Update to 1.1.3.
2021-12-22 23:20:48 +01:00
Nicolas Goaziou
6fe740021f
gnu: emacs-pyim: Update to 3.9.6.
* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 3.9.6.
2021-12-22 23:20:25 +01:00
Efraim Flashner
e8c1562599
gnu: python-scipy: Update to 1.7.3.
* gnu/packages/python-science.scm (python-scipy): Update to 1.7.3.
[native-inputs]: Add python-pydata-sphinx-theme, python-sphinx-panels.
[arguments]: Add phase to build without python-pythran. Remove
trailing #t from phases.
* gnu/packages/sphinx.scm (python-pydata-sphinx-theme)[native-inputs]:
Remove python-plotly.
2021-12-22 21:17:19 +02:00