Commit graph

66916 commits

Author SHA1 Message Date
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
Tobias Geerinckx-Rice
25fb1e308d
gnu: perl-dbd-sqlite: Update to 1.66.
* gnu/packages/databases.scm (perl-dbd-sqlite): Update to 1.66.
2020-10-01 00:13:41 +02:00
Tobias Geerinckx-Rice
ce054e84d3
gnu: perl-db-file: Update to 1.854.
* gnu/packages/databases.scm (perl-db-file): Update to 1.854.
2020-10-01 00:13:41 +02:00
Tobias Geerinckx-Rice
dbc1fe20be
gnu: signify: Update to 30.
* gnu/packages/crypto.scm (signify): Update to 30.
2020-10-01 00:13:41 +02:00
Tobias Geerinckx-Rice
0b66a8bbd8
gnu: escpr: Mark up description.
* gnu/packages/cups.scm (escpr)[description]: Use @acronym and @tie.
2020-10-01 00:13:41 +02:00
Tobias Geerinckx-Rice
9e93bffb58
gnu: php: Update to 7.4.11.
* gnu/packages/php.scm (php): Update to 7.4.11.
2020-10-01 00:13:41 +02:00
Tobias Geerinckx-Rice
7c413c3575
gnu: nginx-xslscript: Move out of the way.
The nginx and nginx-documentation packages need to be updated in tandem.
nginx-xslscript has no good reason to come between them.

* gnu/packages/web.scm (nginx-xslscript): Relocate.
2020-10-01 00:13:41 +02:00
Tobias Geerinckx-Rice
7f2ee827fe
gnu: nginx-documentation: Update to 1.19.3-2603-94ebfbcd68bb.
* gnu/packages/web.scm (nginx-documentation): Update to 1.19.3-2603-94ebfbcd68bb.
2020-10-01 00:13:41 +02:00
Tobias Geerinckx-Rice
4f4444753d
gnu: nginx: Update to 1.19.3.
* gnu/packages/web.scm (nginx): Update to 1.19.3.
2020-10-01 00:13:40 +02:00
Nicolas Goaziou
7607ace509
gnu: emacs-rudel: Update to 0.3.2.
* gnu/packages/emacs-xyz.scm (emacs-rudel): Update to 0.3.2.
2020-09-30 21:27:50 +02:00
Guillaume Le Vaillant
510278134b
gnu: bitcoin-unlimited: Update to 1.9.0.1.
* gnu/packages/finance.scm (bitcoin-unlimited): Update to 1.9.0.1.
  [arguments]: Add "--disable-static" to 'configure-flags. Remove 'fix-build'
  and 'make-qt-deterministic' phases. Enable "txvalidationcache" test.
2020-09-30 19:47:27 +02:00
Julien Lepiller
db194f714a
gnu: ocaml4.07-sqlite3: Fix build.
* gnu/packages/ocaml.scm (ocaml4.07-sqlite3): Use dune for OCaml 4.07.
2020-09-30 14:38:51 +02:00
Jan (janneke) Nieuwenhuizen
04a459a069
services: hurd-vm: Add childhurd user to kvm group.
This is a follow-up to commit d692ebf980.

* gnu/services/virtualization.scm (%hurd-vm-accounts)[supplementary-groups]:
Add ’kvm’.
* gnu/services/virtualization.scm (hurd-vm-shepherd-service): Use #:group
"kvm"
2020-09-30 12:30:28 +02:00
Mathieu Othacehe
f2b8abc2a1
news: Add entry for 'image-type' option.
* etc/news.scm: Add a new entry.
2020-09-30 11:38:12 +02:00
Mathieu Othacehe
313f492657
scripts: system: Add support for image-type.
* guix/scripts/system.scm (list-image-types): New procedure,
(%options): add "image-type" and "list-image-types" options, remove
"file-system-type" option,
(show-help): adapt accordingly,
(%default-options): also adapt, and set the default "image-type" to "raw",
(perform-action): add image-type argument and remove file-system-type argument,
(process-action):  adapt perform-action call,
(system-derivation-for-action): remove base-image
argument, add image-type argument, and use it to create the image passed to
"system-image".
* tests/guix-system.sh: Adapt accordingly and add a test for
"--list-image-types" command.
* doc/guix.texi (Building the Installation Image,
Invoking guix system): Adapt accordingly.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-30 10:47:59 +02:00
Mathieu Othacehe
10b135cef5
system: image: Add image-type support.
* gnu/system/image.scm (image-with-os): New macro. Rename the old
"image-with-os" procedure to ...
(image-with-os*): ... this new procedure,
(system-image): adapt according,
(raw-image-type, iso-image-type, uncompressed-iso-image-type
%image-types): new variables,
(lookup-image-type-by-name): new procedure.
(find-image): remove it.
* gnu/system/images/hurd.scm (hurd-image-type): New variable,
use it to define ...
(hurd-disk-image): ... this variable, using "os->image" procedure.
* gnu/tests/install.scm (run-install): Rename
installation-disk-image-file-system-type parameter to installation-image-type,
use os->config instead of find-image to compute the image passed to system-image,
(%test-iso-image-installer) adapt accordingly,
(guided-installation-test): ditto.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-30 10:47:59 +02:00
Mathieu Othacehe
99d036ce84
image: Add image-type support.
* gnu/image.scm (<image-type>): New record,
(image-type, image-type?, image-type-name,
image-type-constructor, os->image): new procedures.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-30 10:47:59 +02:00
Mathieu Othacehe
2f1f7b6667
services: virtualization: Use a compressed qcow2 hurd disk-image.
* gnu/services/virtualization.scm (hurd-vm-disk-image): Use 'compressed-qcow2
format.
2020-09-30 10:47:58 +02:00
André Batista
df5d1c8393
gnu: Add rust-multi-default-trait-impl-0.1.
* gnu/packages/crates-io.scm (rust-multi-default-trait-impl-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-30 11:25:05 +03:00
Pierre Neidhardt
23611680c8
gnu: sbcl-kmrcl: Update to 1.111.
* gnu/packages/lisp-xyz.scm (sbcl-kmrcl): Update to 1.111.
2020-09-30 09:46:55 +02:00
Efraim Flashner
97750c2004
gnu: newsboat: Fix inputs.
This is a follow-up to 51b46fa28c.

* gnu/packages/syndication.scm (newsboat)[arguments]: Replace
rust-once-cell-1.2 with rust-once-cell-1.
2020-09-30 09:39:32 +03:00
Efraim Flashner
1628d57bb5
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 09:28:26 +03:00
Efraim Flashner
1537587e46
gnu: rust-instant-0.1: Update to 0.1.4.
* gnu/packages/crates-io.scm (rust-instant-0.1): Update to 0.1.4.
[arguments]: Don't skip build. Skip tests. Add rust-js-sys-0.3,
rust-wasm-bindgen-0.2 to cargo-inputs.
2020-09-30 09:28:26 +03:00
Efraim Flashner
c9b101f119
gnu: rust-serde-1: Update to 1.0.113.
* gnu/packages/crates-io.scm (rust-serde-1, rust-serde-derive-1,
rust-serde-test-1): Update to 1.0.113.
[arguments]: Don't skip build.
2020-09-30 09:28:25 +03:00
Efraim Flashner
51b46fa28c
gnu: rust-once-cell-1.2: Replace with rust-once-cell-1.
* gnu/packages/crates-io.scm (rust-once-cell-1.2): Remove variable.
(rust-arc-swap-0.4, rust-duct-0.13): Adjust accordingly.
* gnu/packages/gnome.scm (librsvg-next): Same.
2020-09-30 09:28:25 +03:00
Efraim Flashner
cca7cbe932
gnu: Add rust-once-cell-1.
* gnu/packages/crates-io.scm (rust-once-cell-1): New variable.
(rust-once-cell-1.2): Inherit from rust-once-cell-1.
2020-09-30 09:28:25 +03:00
Tobias Geerinckx-Rice
7158dc2d49
gnu: escpr: Update to 1.7.7.
* gnu/packages/cups.scm (escpr): Update to 1.7.7.
[arguments]: Add a ‘patch-autotools-version-requirement’ phase.
2020-09-29 23:32:26 +02:00
Tobias Geerinckx-Rice
276144a99f
gnu: escpr: Install PPDs where CUPS can find them.
* gnu/packages/cups.scm (escpr)[arguments]: Fix ‘--with-cupsppddir=’.
2020-09-29 23:32:26 +02:00