Commit graph

89650 commits

Author SHA1 Message Date
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
Efraim Flashner 4614387807
gnu: Add python-sphinx-panels.
* gnu/packages/sphinx.scm (python-sphinx-panels): New variable.
2021-12-22 21:17:18 +02:00
Efraim Flashner 8efa775653
gnu: python-pydata-sphinx-theme: Fix build.
* gnu/packages/sphinx.scm (python-pydata-sphinx-theme)[native-inputs]:
Replace python-docutils with python-docutils-0.15. Remove duplicate
entries.
2021-12-22 21:17:18 +02:00
Efraim Flashner 8cc1aa7d1e
gnu: python-statsmodels: Update to 0.13.1.
* gnu/packages/statistics.scm (python-statsmodels): Update to 0.13.1.
2021-12-22 21:17:18 +02:00
Arun Isaac e97197cccb
gnu: python-pingouin: Update to 0.5.0.
* gnu/packages/python-science.scm (python-pingouin): Update to 0.5.0.
2021-12-22 21:17:16 +02:00
Timothy Sample 35ce3e5de6
gnu: disarchive: Update to 0.4.0.
* gnu/packages/backup.scm (disarchive)[source]: Update to 0.4.0.
[native-inputs, inputs]: Add guile-lzma.
* gnu/packages/package-management.scm (guix)[arguments]: Include
guile-lzma in the 'wrap-program' phase.
[inputs]: Add guile-lzma.
2021-12-22 11:35:06 -05:00
Timothy Sample eaa7ead41c
gnu: Add guile-lzma.
* gnu/packages/guile.scm (guile-lzma): New variable.
2021-12-22 11:35:06 -05:00
Christopher Baines 0f859051dc
gnu: guix-build-coordinator: Update to 0-42.9f5b8b7.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-42.9f5b8b7.
[native-inputs,inputs,propagated-inputs]: Update style.
2021-12-22 12:16:36 +00:00
Tobias Geerinckx-Rice 6eb5bd3741
gnu: knot: Update to 3.1.5.
* gnu/packages/dns.scm (knot): Update to 3.1.5.
2021-12-22 12:02:54 +01:00
Attila Lendvai 9ebc9ca070
tests: Move keys into ./tests/keys/ and add a third ed25519 key.
The third key will be used in an upcoming commit.

Rename public keys to .pub.

* guix/tests/gnupg.scm (%ed25519-3-public-key-file): New variable.
(%ed25519-3-secret-key-file): New variable.
(%ed25519-2-public-key-file): Renamed from %ed25519bis-public-key-file.
(%ed25519-2-secret-key-file): Renamed from %ed25519bis-secret-key-file.
* tests/keys/ed25519-3.key: New file.
* tests/keys/ed25519-3.sec: New file.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-22 10:53:19 +01:00
Efraim Flashner 5b8ae331f7
gnu: weechat: Update to 3.4.
* gnu/packages/irc.scm (weechat): Update to 3.4.
2021-12-22 10:45:37 +02:00
Efraim Flashner 8554cb2db9
gnu: weechat: Satisfy guix lint.
* gnu/packages/irc.scm (weechat)[native-inputs]: Relabel gettext as
gettext-minimal.
[inputs]: Use default libgcrypt output.
[home-page]: Use upstream home-page.
2021-12-22 10:45:37 +02:00
Efraim Flashner 76c0b2e340
gnu: weechat: Enable tests on all architectures.
* gnu/packages/irc.scm (weechat)[arguments]: Remove test field.
2021-12-22 10:45:37 +02:00
Efraim Flashner e2c4d13233
gnu: weechat: Only build docs on some architectures.
* gnu/packages/irc.scm (weechat)[native-inputs]: Only use
ruby-asciidoctor on architectures supported by GHC.
[arguments]: Only build manpages and docs on some architectures. Only
move documentation when it is built.
2021-12-22 10:45:36 +02:00
Olivier Dion 26b18b0525
gnu: Enable babeltrace Python's bindings.
* gnu/packages/instrumentation.scm (babeltrace)
[tests?]: Set to false.
[configure-flags]: Enable Python's plugins and bindings.
[make-flags]: Add output's /lib to linker rpath.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-22 09:23:56 +01:00
Nathan Dehnel 6fb5459e8b
services: wireguard: Add DNS config field.
* gnu/services/vpn.scm (wireguard-configuration)[dns]: New field.
(wireguard-configuration-file): Honor it.
* doc/guix.texi: Document it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-22 09:07:39 +01:00
Ricardo Wurmus dce3415a74
gnu: strace: Update to 5.15.
* gnu/packages/linux.scm (strace): Update to 5.15.
[arguments]: Remove trailing #T from build phases; disable one more test.
2021-12-22 05:43:02 +01:00