Commit Graph

66966 Commits

Author SHA1 Message Date
Ludovic Courtès
0f53c801b9
environment: Provide /etc/hosts in containers without '--network'.
Fixes <https://bugs.gnu.org/43762>.

* guix/scripts/environment.scm (launch-environment/container): Create
/etc/hosts when NETWORK? is false.
* tests/guix-environment-container.sh: Add "localhost" resolution test.
2020-10-02 23:28:09 +02:00
Ludovic Courtès
8e1907a724
guix package: Re-apply package transformation when upgrading.
* guix/scripts/package.scm (transaction-upgrade-entry)[upgrade]: Add
'transform' parameter.  Pass PKG through it.  Use
'manifest-entry-with-transformations'.
Call 'options->transformation' to get the transformation procedure.
* tests/guix-package.sh: Add 'guix package -u' test.
* tests/packages.scm ("transaction-upgrade-entry, transformation options preserved"):
New test.
* doc/guix.texi (Invoking guix package): Mention that transformations
are preserved across upgrades.
(Package Transformation Options): Likewise.
2020-10-02 23:28:09 +02:00
Ludovic Courtès
ad54a73bb8
guix build: Record package transformations in manifest entries.
With this change, package transformation options used while building a
manifest are saved in the metadata of the manifest entries.

* guix/scripts/build.scm (transformation-procedure): New procedure.
(options->transformation)[applicable]: Use it.  Change to a list of
key/value/proc tuples instead of key/proc pairs.
[package-with-transformation-properties, tagged-object]: New
procedures.  Use them.
(package-transformations, manifest-entry-with-transformations): New
procedures.
* guix/scripts/pack.scm (guix-pack)[with-transformations]: New
procedure.
Use it.
* guix/scripts/package.scm (process-actions)[transform-entry]: Use it.
* tests/guix-package-aliases.sh: Add test.
2020-10-02 23:28:09 +02:00
Tobias Geerinckx-Rice
63e5ef402b
gnu: orc: Update to 0.4.32.
* gnu/packages/gstreamer.scm (orc): Update to 0.4.32.
2020-10-02 23:08:10 +02:00
Tobias Geerinckx-Rice
08a8b34044
gnu: zeromq: Update to 4.3.3.
* gnu/packages/networking.scm (zeromq): Update to 4.3.3.
2020-10-02 23:08:10 +02:00
Tobias Geerinckx-Rice
433b391f9e
gnu: liblouisutdml: Update to 2.9.0.
* gnu/packages/language.scm (liblouisutdml): Update to 2.9.0.
[source]: Remove patch.
* gnu/packages/patches/liblouisutdml-fix-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2020-10-02 23:08:10 +02:00
Tobias Geerinckx-Rice
b4fb61f60b
gnu: liblouis: Update to 3.15.0.
* gnu/packages/language.scm (liblouis): Update to 3.15.0.
2020-10-02 23:08:09 +02:00
Tobias Geerinckx-Rice
13e245f591
gnu: lsp-plugins: Update to 1.1.26.
* gnu/packages/music.scm (lsp-plugins): Update to 1.1.26.
2020-10-02 23:08:09 +02:00
Tobias Geerinckx-Rice
545c6bda37
gnu: perl-async-interrupt: Update to 1.26.
* gnu/packages/perl.scm (perl-async-interrupt): Update to 1.26.
2020-10-02 23:08:08 +02:00
Tobias Geerinckx-Rice
72313ff4ab
gnu: perl-test-utf8: Update to 1.02.
* gnu/packages/perl-check.scm (perl-test-utf8): Update to 1.02.
2020-10-02 23:08:08 +02:00
Florian Pelz
3c01fcc1bb
doc: Explain why '--without-tests' may fail with modified 'check' phase.
* doc/guix.texi (Package Transformation Options): Explain.
2020-10-02 20:03:55 +00:00
Mathieu Othacehe
d6a8f0a978
services: cuirass: Fix activation.
Fixes: <https://issues.guix.gnu.org/43760>.

* gnu/services/cuirass.scm (cuirass-activation): Do not create
queries-log-file and web-queries-log-file if the corresponding config file are
unset.
2020-10-02 14:58:01 +02:00
Mathieu Othacehe
23ad7e92b1
system: image: Add qcow2 image type.
* gnu/system/image.scm (qcow2-image-type): New variable.
2020-10-02 14:54:26 +02:00
Mathieu Othacehe
ae39b7a9a9
gnu: guix: Fix checksum.
* gnu/packages/package-management.scm (guix): Fix checksum.
2020-10-02 14:52:52 +02:00
Mathieu Othacehe
7db32c94b0
gnu: guix: Update to 1.1.0-28.d27dbeb.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-28.d27dbeb.
2020-10-02 14:34:52 +02:00
Mathieu Othacehe
d27dbeb9d8
gnu: guix: Install OpenRC init files to $(prefix)/etc.
This is a followup to cabac732de.

* gnu/packages/package-management.scm (guix)[arguments]: In 'bootstrap'
phase, change "openrcservicedir" in 'nix/local.mk'.
2020-10-02 14:10:15 +02:00
Mathieu Othacehe
f469fb927f
gnu: cuirass: Update to 0.0.1-49.cd89fc4.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-49.cd89fc4.
2020-10-02 10:03:29 +02:00
Mathieu Othacehe
bdbd8bf905
scripts: system: Honor target argument.
Since 313f492657 the target argument passed to
"guix system" was not honored for 'disk-image' command.

This forces the command line passed "target" to take precedence over the
"target" field of the <image> record returned by "os->image" procedure.

* guix/scripts/system.scm (system-derivation-for-action): Override the
"target" field of the "image" record using the "target" argument from the
command line.
2020-10-02 10:03:29 +02:00
Ludovic Courtès
cc34693152
tests: Adjust to recent changes to the 'emacs' package.
Test regression introduced in f88fea0eaa.

* tests/guix-package.sh: Add minor and patch levels in the version
numbers of 'emacs-foo-bar' and 'emacs-foo-bar-patched'.
2020-10-02 09:43:05 +02:00
Ludovic Courtès
9471aea76a
gexp: Fix argument ordering in 'local-file' macro.
Fixes a regression introduced in
f43ffee908.
Reported by jonsger on #guix.

* guix/gexp.scm (local-file): In the non-literal case, add #:literal?
and #:location after REST.
2020-10-02 09:29:26 +02:00
Jonathan Brielmaier
9dc27bc388
gnu: icedove: Update to 78.3.1.
* gnu/packages/gnuzilla.scm (icedove): Update to 78.3.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-02 08:11:39 +02:00
Jonathan Brielmaier
df3752e13c
gnu: nss@3.56: Update to 3.57.
nss@3.57 includes a critical fix for building on aarch64.

* gnu/packages/nss.scm (nss-3.56): Update to 3.57 and rename to
* nss-3.57.
* gnu/packages/gnuzilla.scm (icedove)[inputs]: Update nss variable name.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-02 08:11:39 +02:00
Ludovic Courtès
dc749a0e91
ui: Use "guix install" in locale hint.
* guix/ui.scm (install-locale): Change "guix package -i" to "guix install".
2020-10-02 08:11:38 +02:00
Ludovic Courtès
f43ffee908
gexp: 'local-file' warns when passed a non-literal relative file name.
Fixes <https://bugs.gnu.org/43736>.
Reported by Vitaliy Shatrov <guix.vits@disroot.org>.

* guix/gexp.scm (%local-file): Add #:literal? and #:location.
Emit a warning when LITERAL? is false and FILE is not absolute.
(local-file): In the non-literal case, pass #:location and #:literal?.
* po/guix/POTFILES.in: Add guix/gexp.scm.
* tests/guix-system.sh: Add test for the warning.
2020-10-02 08:11:38 +02:00
Julien Lepiller
23dc21f05b
tests: opam: Test additional syntax.
* tests/opam.scm (test-comment): New test.
(test-lists): Add more tests for complex list patterns.
2020-10-02 00:44:14 +02:00
Julien Lepiller
a6816618fc
import: opam: Report groups in syntax tree.
* guix/import/opam.scm (group-pat): Report in syntax tree.
(dependency->input, dependency->native-input, dependency->name):
consider the case of a group.
2020-10-02 00:43:41 +02:00
Julien Lepiller
ad05537e32
tests: opam: Factorize tests.
* tests/opam.scm: Remove duplicate code.
2020-10-02 00:30:23 +02:00
Tobias Geerinckx-Rice
1aa9f2cfde
gnu: sord: Update to 0.16.6.
* gnu/packages/rdf.scm (sord): Update to 0.16.6.
2020-10-02 00:30:43 +02:00
Tobias Geerinckx-Rice
33214fe4ca
gnu: serd: Update to 0.30.6.
* gnu/packages/rdf.scm (serd): Update to 0.30.6.
2020-10-02 00:30:43 +02:00
Tobias Geerinckx-Rice
e1fefb810b
gnu: grim: Fix output rotation interpretation with Sway 1.4.
* gnu/packages/image.scm (grim)[source]: Add patch.
* gnu/packages/patches/grim-revert-output-rotation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2020-10-02 00:30:14 +02:00
Tobias Geerinckx-Rice
7a0491ad0c
gnu: python-pure-protobuf: Update to 2.0.1.
* gnu/packages/protobuf.scm (python-pure-protobuf): Update to 2.0.1.
2020-10-02 00:29:22 +02:00
Tobias Geerinckx-Rice
476631fd9a
gnu: oil: Update to 0.8.1.
* gnu/packages/shells.scm (oil): Update to 0.8.1.
2020-10-02 00:29:21 +02:00
Tobias Geerinckx-Rice
b61e057abc
gnu: perl-libwww: Update to 6.49.
* gnu/packages/web.scm (perl-libwww): Update to 6.49.
2020-10-01 21:55:04 +02:00
Tobias Geerinckx-Rice
ebd5f93119
gnu: perl-test-tcp: Update to 2.22.
* gnu/packages/web.scm (perl-test-tcp): Update to 2.22.
2020-10-01 21:55:03 +02:00
Tobias Geerinckx-Rice
8bfe8b3641
gnu: inxi-minimal: Update to 3.1.07-1.
* gnu/packages/admin.scm (inxi-minimal): Update to 3.1.07-1.
2020-10-01 21:55:03 +02:00
Tobias Geerinckx-Rice
74b7b13829
gnu: xpra: Update to 4.0.4.
* gnu/packages/xorg.scm (xpra): Update to 4.0.4.
2020-10-01 21:55:03 +02:00
Tobias Geerinckx-Rice
08014aed88
gnu: waybar: Update to 0.9.4.
* gnu/packages/wm.scm (waybar): Update to 0.9.4.
2020-10-01 21:55:02 +02:00
Julien Lepiller
f4390d391b
guix: opam: Fix syntax.
* guix/import/opam.scm (STRCHR, comment, choice): Fix syntax.
(group-pat): Add syntax.
(opam->guix-package): Suppport "archive" keyword.
2020-10-01 21:43:29 +02:00
Maxim Cournoyer
d40c9f6c85
services: %desktop-services: Setuid root NTFS and NFS mount helpers.
Fixes <https://issues.guix.info/39670>.

Combined with commit def6e2ae46, this allows unprivileged users to mount file
systems marked with the "user" option.  It adds less than 4 MiB to the closure
of the lightweight-desktop.tmpl operating system template.

* gnu/services/desktop.scm (%desktop-services): Extend the
setuid-program-service-type service with the 'mount.nfs' and 'mount.nfs-3g'
programs.

Reported-by: Nathan Dehnel <ncdehnel@gmail.com>
2020-10-01 15:47:55 -04:00
Mathieu Othacehe
c5cf45e906
ci: Add log and outputs keys.
Add 'log and 'outputs properties to hydra objects. This way Cuirass won't
have to go through every derivation to add those properties.

* gnu/ci.scm (package->alist, image-jobs, system-test-jobs, tarball-jobs): Add
'log and 'outputs properties.
* build-aux/hydra/guix-modular.scm (build-job): Ditto.
2020-10-01 18:39:41 +02:00
Morgan Smith
f88fea0eaa
gnu: emacs-next: Fix load path and version.
Fixes <http://issues.guix.info/43277>.

* gnu/packages/emacs.scm (emacs)[strip-double-wrap]: Modify to work with
emacs-next.
(emacs-next)[version]: Use git-version to produce the version string.
[arguments]: Remove field.
[native-search-paths]: Add field.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2020-10-01 11:03:56 -04:00
Jan (janneke) Nieuwenhuizen
18e76f8905
services: hurd-vm: Resurrect system-test by using raw disk-image.
Using the new compressed-qcow2 image breaks this test.

* gnu/tests/virtualization.scm (hurd-vm-disk-image-raw): New procedure.
(%childhurd-os): Use it.
2020-10-01 15:47:29 +02:00
Jelle Licht
e65991a363
gnu: skopeo: Update to 1.2.0.
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.0.
[source]: Update uri.
[arguments]: Update #:import-path.
<phases>: In the 'build' phase, update make target.
[home-page]: Update to current.
2020-10-01 14:42:12 +02:00
Adam
031f705a43
gnu: Add emacs-sqlite.
* gnu/packages/emacs-xyz.scm (emacs-sqlite): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-10-01 14:39:52 +02:00
Brendan Tildesley
a76e9d13e9
gnu: Add scantailor-advanced.
* gnu/packages/image-processing.scm (scantailor-advanced): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-10-01 14:22:15 +02:00
Jelle Licht
e748183538
linux-container: Reset jailed root permissions.
* gnu/build/linux-container.scm (mount-file-systems): Add 'chmod' call.
* tests/containers.scm
("call-with-container, mnt namespace, root permissions"): New test.
2020-10-01 12:51:13 +02:00
Ludovic Courtès
7dc19c33fc
ui: "guix help" silently ignores EPIPE.
This avoids a backtrace when running "guix help | head" or similar.

* guix/ui.scm (run-guix): Wrap 'show-guix-help' calls in
'leave-on-EPIPE'.
2020-10-01 12:45:38 +02:00
Greg Hogan
786a04c9ae
gnu: SuiteSparse: Update to 5.8.1.
From 0d8692dfebc6ac4b515c06612ab8da4c898719eb Mon Sep 17 00:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Tue, 29 Sep 2020 11:54:38 +0000
Subject: [PATCH] gnu: SuiteSparse: Update to 5.8.1.

* gnu/packages/maths.scm (suitesparse): Update to 5.8.1.
[arguments]: Remove unnecessary flag and use default blas and lapack.
[inputs]: Add new dependencies for SLIP_LU component.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-01 12:45:38 +02:00
Greg Hogan
e9cbf43ae0
gnu: tbb: Update to 2020.3.
1.  (*) multipart/mixed     ( ) text/html

>From a30bd8dcbc2d4321cd993eaa1857e4be85da7a59 Mon Sep 17 00:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Tue, 29 Sep 2020 19:19:36 +0000
Subject: [PATCH] gnu: tbb: Update to 2020.3.

* gnu/packages/tbb.scm (tbb): Update to 2020.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-01 12:45:38 +02:00
Ludovic Courtès
58abd58739
pack: Work around ld.so bug that affects the "fakechroot" engine.
Fixes <https://bugs.gnu.org/43491>.

* guix/scripts/pack.scm (wrapped-package): Use (runpath program) instead
of (runpath #$(audit-module)).
2020-10-01 12:45:38 +02:00