Commit graph

66943 commits

Author SHA1 Message Date
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
Ludovic Courtès
9556ac498f
daemon: Try to execute derivation builders only for matching OS kernels.
Fixes <https://bugs.gnu.org/43668>.

Previously, guix-daemon would try to run GNU/Hurd executables on
GNU/Linux.  execve(2) would succeed, but the executable would
immediately crash.

This change prevents it from attempting to execute "i586-gnu" code on
"*-linux", while preserving the binfmt_misc-friendly behavior
implemented in commit 7bf2a70a4f.

* nix/libstore/build.cc (sameOperatingSystemKernel): New function.
(DerivationGoal::runChild): Call 'execve' only when
'sameOperatingSystemKernel' returns true.
2020-10-01 12:45:38 +02:00
Paul Garlick
905a2ff0c5
gnu: Add texlive-symbol.
* gnu/packages/tex.scm (texlive-symbol): New variable.
2020-10-01 11:04:00 +01:00
Mathieu Othacehe
3ca014d1df
ci: Add nix-name and system keys.
Add 'nix-name and 'system 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
'nix-name and 'system properties.
* build-aux/hydra/guix-modular.scm (build-job): Ditto.
2020-10-01 11:46:53 +02:00
Jason Conroy
5627bfe45c
Instantiate nscd in each system container.
* gnu/system/linux-container.scm (%nscd-container-caches): New variable.
(containerized-operating-system): Instantiate nscd-service with smaller caches
and add it to the generated operating-system, replacing any nscd-service
specified by the caller.
* gnu/system/file-systems.scm: (%network-file-mappings): Remove "/var/run/nscd".

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-10-01 09:27:33 +02:00
Oleg Pykhalov
da6aec32cf
gnu: Add webssh service.
* gnu/services/ssh.scm:
(<webssh-configuration>): New record type.
(%webssh-configuration-nginx, webssh-service-type): New variables.
(webssh-account, webssh-activation, webssh-shepherd-service): New procedures.
* doc/guix.texi: Document this.
2020-10-01 10:15:29 +03:00
Florian Pelz
124562df27
news: Add ‘de’ translation.
* etc/news.scm: Add ‘de’ translation.
2020-10-01 06:32:15 +00:00
Leo Famulari
51eb3e113c
gnu: linux-libre 4.19: Update to 4.19.148.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.148.
(linux-libre-4.19-pristine-source): Update hash.
2020-09-30 18:34:09 -04:00
Leo Famulari
2d4264b76e
gnu: linux-libre 5.4: Update to 5.4.68.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.68.
(linux-libre-5.4-pristine-source): Update hash.
2020-09-30 18:34:09 -04:00
Leo Famulari
cc55c404ff
gnu: linux-libre: Update to 5.8.12.
* gnu/packages/linux.scm (linux-libre-5.8-version): Update to 5.8.12.
(linux-libre-5.8-pristine-source): Update hash.
2020-09-30 18:34:05 -04:00
Tobias Geerinckx-Rice
5faca523d6
gnu: wireshark: Update to 3.2.7.
* gnu/packages/networking.scm (wireshark): Update to 3.2.7.
2020-10-01 00:13:43 +02:00
Tobias Geerinckx-Rice
2cf49625d0
gnu: perl-net-dns: Update to 1.27.
* gnu/packages/networking.scm (perl-net-dns): Update to 1.27.
2020-10-01 00:13:43 +02:00
Tobias Geerinckx-Rice
ce4f2fda4d
gnu: gnome-bluetooth: Update to 3.34.2.
* gnu/packages/gnome.scm (gnome-bluetooth): Update to 3.34.2.
2020-10-01 00:13:43 +02:00
Tobias Geerinckx-Rice
820676e1d8
gnu: srt: Update to 1.4.2.
* gnu/packages/networking.scm (srt): Update to 1.4.2.
2020-10-01 00:13:43 +02:00
Tobias Geerinckx-Rice
36bb10d678
gnu: mtr: Update to 0.94.
* gnu/packages/networking.scm (mtr): Update to 0.94.
2020-10-01 00:13:43 +02:00
Tobias Geerinckx-Rice
737875b408
gnu: starfighter: Update to 2.3.3.
* gnu/packages/games.scm (starfighter): Update to 2.3.3.
2020-10-01 00:13:43 +02:00
Tobias Geerinckx-Rice
1f334a5c23
gnu: nml: Update to 0.5.3.
* gnu/packages/game-development.scm (nml): Update to 0.5.3.
2020-10-01 00:13:42 +02:00
Tobias Geerinckx-Rice
902436a209
gnu: cozy: Update to 0.7.2.
* gnu/packages/ebook.scm (cozy): Update to 0.7.2.
[inputs]: Add python-packaging.
2020-10-01 00:13:42 +02:00
Tobias Geerinckx-Rice
874d2bc9c9
gnu: pcb-rnd: Update to 2.2.4.
* gnu/packages/engineering.scm (pcb-rnd): Update to 2.2.4.
2020-10-01 00:13:42 +02:00
Tobias Geerinckx-Rice
5d9a100e7e
gnu: xtl: Update to 0.6.19.
* gnu/packages/cpp.scm (xtl): Update to 0.6.19.
2020-10-01 00:13:42 +02:00
Tobias Geerinckx-Rice
4436a27ca6
gnu: python-rq: Update to 1.5.2.
* gnu/packages/databases.scm (python-rq): Update to 1.5.2.
2020-10-01 00:13:42 +02:00
Tobias Geerinckx-Rice
771c266bc4
gnu: python-lmdb: Update to 1.0.0.
* gnu/packages/databases.scm (python-lmdb): Update to 1.0.0.
[arguments]: Set LMDB_PURE.
2020-10-01 00:13:42 +02:00
Tobias Geerinckx-Rice
5ccb3b231a
gnu: stellarium: Update to 0.20.3.
* gnu/packages/astronomy.scm (stellarium): Update to 0.20.3.
2020-10-01 00:13:42 +02:00
Tobias Geerinckx-Rice
63d37b3cbe
gnu: python-alembic: Update to 1.4.3.
* gnu/packages/databases.scm (python-alembic): Update to 1.4.3.
2020-10-01 00:13:42 +02:00