Commit graph

70608 commits

Author SHA1 Message Date
Ludovic Courtès
859b362f81
services: hurd-vm: Avoid circular dependency with (gnu system images hurd).
* gnu/services/virtualization.scm (hurd-vm-disk-image): Use
'lookup-image-type-by-name' instead of referring to 'hurd-disk-image'
from (gnu system images hurd).
2020-12-07 12:48:26 +01:00
Leo Prikler
07340cbebc
profiles: Delete duplicate manifest entries in packages->manifest.
* gnu/profiles.scm (packages->manifest): Delete duplicate entries.
* tests/profiles.scm ("packages->manifest, no duplicates"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-07 12:48:26 +01:00
Leo Prikler
f5d952c5f5
profiles: Remove duplicates in manifest transactions.
Fixes <https://bugs.gnu.org/23874>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/profiles.scm (manifest-transaction-effects): Delete duplicates in
install and remove.  Let multiple upgrades and downgrades shadow previous
transactions of the same kind.
* tests/profiles.scm
("manifest-transaction-effects no double install or upgrades")
("manifest-transaction-effects no double downgrade")
("manifest-transaction-effects no double removal"): New tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-07 12:48:25 +01:00
Holger Peters
b3f21eb6bc
doc: Fix incorrect GUIX_PROFILE value for 'guix pull'.
* doc/guix.texi (Getting Started): Fix invalid GUIX_PROFILE value.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-07 12:48:25 +01:00
Efraim Flashner
27cf238744
Revert "gnu: vim: Run more tests."
This reverts commit 17a53aec7a.

This breaks building vim on ARM architectures.
2020-12-07 12:48:07 +02:00
Efraim Flashner
3832704aff
gnu: minimap2: Fix build on aarch64-linux.
* gnu/packages/bioinformatics.scm (minimap2)[arguments]: Adjust
configure-flags to be better per-architecture.
[source]: Add patch.
* gnu/packages/patches/minimap2-aarch64-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2020-12-07 12:48:07 +02:00
Efraim Flashner
f48cd014f3
gnu: minimap2: Prepare for cross compilation.
* gnu/packages/bioinformatics.scm (minimap2)[arguments]: Use
cc-for-target.
2020-12-07 12:48:01 +02:00
Michael Rohleder
65555198b2
gnu: emacs-with-editor: Update to 3.0.2.
* gnu/packages/emacs-xyz.scm (emacs-with-editor): Update to 3.0.2.
[propagated-inputs]: Changed emacs-dash to emacs-async.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-12-07 11:40:47 +01:00
Mathieu Othacehe
e461d3b750
service: Add shepherd discover action.
* gnu/services/base.scm (shepherd-discover-action): New procedure,
(guix-shepherd-service)[<actions>]: add it,
[<start>]: honor it.
* doc/guix.texi (Invoking guix-daemon): Document it.
2020-12-07 10:39:21 +01:00
Christopher Baines
92f7c11af2
prometheus-node-exporter: Support extra options.
There are plenty of options supported that the Guix configuration record
doesn't help you with, so add this field to allow users to do their own thing.

* gnu/services/monitoring.scm (<prometheus-node-exporter-configuration>): Add
extra-options field.
(prometheus-node-exporter-shepherd-service): Handle the extra options.
* doc/guix.texi (Prometheus Node Exporter Service): Document this.
2020-12-07 09:08:33 +00:00
Christopher Baines
fd14385581
prometheus-node-exporter: Enable the textfile collector.
* gnu/services/monitoring.scm (<prometheus-node-exporter-configuration>): Add
textfile-directory.
(prometheus-node-exporter-textfile-directory,
prometheus-node-exporter-activation): New procedures.
(prometheus-node-exporter-shepherd-service): Pass
--collector.textfile.directoryto the service.
(prometheus-node-exporter-service-type): Extend the activation service type.
* doc/guix.texi (Prometheus Node Exporter Service): Document.
2020-12-07 09:08:20 +00:00
Christopher Baines
6eba27f7be
doc: Remove redundant node exporter configuration from the example.
* doc/guix.texi (Prometheus Node Exporter Service): Simplify the example.
2020-12-07 09:08:17 +00:00
Christopher Baines
fa0975ad71
services: prometheus-node-exporter: Use a log file.
This makes the logs easier to find and read.

* gnu/services/monitoring.scm (prometheus-node-exporter-shepherd-service):
Pass #:log-file to make-forkexec-constructor.
2020-12-07 09:08:09 +00:00
Christopher Baines
6574298e4e
prometheus-node-exporter: Add user and group.
So it doesn't run as root, and because this will help with the textfile
exporter.

* gnu/services/monitoring.scm (%prometheus-node-exporter-accounts): New
variable.
(prometheus-node-exporter-shepherd-service): Use the relevant user and group.
(prometheus-node-exporter-service-type): Extend the account service type.
2020-12-07 09:07:54 +00:00
Christopher Baines
502cb3f8a1
services: prometheus-node-exporter: Neaten up.
Add relevant exports, as well as a comment to better indicate where the
relevant code starts.

* gnu/services/monitoring.scm (prometheus-node-exporter-service-type):
Capitalise Prometheus.
2020-12-07 09:07:13 +00:00
Antoine Côté
928bedcab7
gnu: rav1e: Update to 0.3.4.
* gnu/packages/video.scm (rav1e): Update to 0.3.4.
[arguments]: In cargo-inputs replace rust-aom-sys-0.1 with 0.2,
rust-nasm-rs-0.1 with 0.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-12-07 09:27:27 +01:00
Antoine Côté
b536f3bbd9
gnu: Add rust-nasm-rs-0.2.
* gnu/packages/crate-io.scm (rust-nasm-rs-0.2): New variable.
(rust-nasm-rs-0.1): Inherit from rust-nasm-rs-0.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-12-07 09:27:15 +01:00
Antoine Côté
cbd33c0da1
gnu: Add rust-aom-sys-0.2.
* gnu/packages/crates-graphics.scm (rust-aom-sys-0.2): New variable.
(rust-aom-sys-0.1): Inherit from rust-aom-sys-0.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-12-07 09:27:04 +01:00
Joseph LaFreniere
f15cc2f4a2
gnu: Add emacs-counsel-jq.
* gnu/packages/emacs-xyz.scm (emacs-counsel-jq): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-12-07 10:52:47 +03:00
Vagrant Cascadian
c8ea8516d0
gnu: diffoscope: Update to 162.
* gnu/packages/diffoscope (diffoscope): Update to 162.
2020-12-06 19:28:56 -08:00
Giacomo Leidi
0c86b24c41
gnu: Add hledger-web.
* gnu/packages/finance.scm (hledger-web): New variable.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2020-12-06 21:35:41 -05:00
Giacomo Leidi
897f47bc6a
gnu: Add ghc-wai-cors.
* gnu/packages/haskell-web.scm (ghc-wai-cors): New variable.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2020-12-06 21:35:35 -05:00
Giacomo Leidi
36017770f7
gnu: Add ghc-wai-handler-launch.
* gnu/packages/haskell-web.scm (ghc-wai-handler-launch): New variable.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2020-12-06 21:35:21 -05:00
Giacomo Leidi
90eae236aa
gnu: Add ghc-yesod-static.
* gnu/packages/haskell-web.scm (ghc-yesod-static): New variable.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2020-12-06 21:35:13 -05:00
Giacomo Leidi
8bbb759c83
gnu: Add ghc-hjsmin.
* gnu/packages/haskell-web.scm (ghc-hjsmin): New variable.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2020-12-06 21:35:05 -05:00
Giacomo Leidi
4cb7802121
gnu: Add ghc-cryptonite-conduit.
* gnu/packages/haskell-crypto.scm (ghc-cryptonite-conduit): New variable.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2020-12-06 21:34:57 -05:00
Giacomo Leidi
fd076aefcd
gnu: Add ghc-wai-app-static.
* gnu/packages/haskell-web.scm (ghc-wai-app-static): New variable.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2020-12-06 21:34:46 -05:00
Giacomo Leidi
2e77bb473b
gnu: Add ghc-yesod-test.
* gnu/packages/haskell-web.scm (ghc-yesod-test): New variable.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2020-12-06 21:34:37 -05:00
Giacomo Leidi
4ad5ce4f78
gnu: ghc-yesod-core: Update to 1.6.17.2.
* gnu/packages/haskell-web.scm (ghc-yesod-core): Update to 1.6.17.2.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2020-12-06 21:34:24 -05:00
Brett Gilio
1db54324b2
gnu: python-transient: Update to 0.12.
* gnu/packages/virtualization.scm (python-transient): Update to 0.12.
2020-12-06 18:08:30 -06:00
Leo Famulari
8f805657b9
gnu: Add the Glimpse Image Editor.
* gnu/packages/gimp.scm (glimpse): New variable.
2020-12-06 18:40:42 -05:00
Hugo Thiessard
a889e6a9bf
doc: Document Guix System F2FS root support.
* doc/guix.texi (Keyboard Layout and Networking and Partitioning): Add
F2FS to the footnote of Guix System's supported root file systems.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-12-07 00:38:44 +01:00
Tobias Geerinckx-Rice
c7fcd248c2
gnu: zabbix-agentd: Update to 5.2.2.
* gnu/packages/monitoring.scm (zabbix-agentd): Update to 5.2.2.
2020-12-07 00:38:44 +01:00
Tobias Geerinckx-Rice
4a6cc1bbb9
gnu: mutt: Update to 2.0.3.
* gnu/packages/mail.scm (mutt): Update to 2.0.3.
2020-12-07 00:38:43 +01:00
Tobias Geerinckx-Rice
c73b1257fc
gnu: youtube-dl: Update to 2020.12.07.
* gnu/packages/video.scm (youtube-dl): Update to 2020.12.07.
2020-12-07 00:38:42 +01:00
Tobias Geerinckx-Rice
ac50633c15
gnu: hplip: Update to 3.20.11.
* gnu/packages/cups.scm (hplip): Update to 3.20.11.
[source]: Remove upstreamed patch.
* gnu/packages/patches/hplip-fix-bug-1898438.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2020-12-06 23:50:44 +01:00
Tobias Geerinckx-Rice
a79e05f9e8
gnu: libopenmpt: Update to 0.5.4.
* gnu/packages/audio.scm (libopenmpt): Update to 0.5.4.
2020-12-06 23:50:44 +01:00
Tobias Geerinckx-Rice
c24d1f2e6f
gnu: nsd: Update to 4.3.4.
* gnu/packages/dns.scm (nsd): Update to 4.3.4.
2020-12-06 23:50:43 +01:00
Tobias Geerinckx-Rice
71efb620cb
gnu: ropgadget: Update to 6.4.
* gnu/packages/cybersecurity.scm (ropgadget): Update to 6.4.
2020-12-06 23:50:43 +01:00
Tobias Geerinckx-Rice
6a84fddcaa
gnu: pam-mount: Update to 2.17.
* gnu/packages/admin.scm (pam-mount): Update to 2.17.
[source]: Remove upstreamed patch.
* gnu/packages/patches/pam-mount-luks2-support.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2020-12-06 23:50:43 +01:00
Tobias Geerinckx-Rice
9b5ed03969
gnu: fio: Update to 3.25.
* gnu/packages/benchmark.scm (fio): Update to 3.25.
2020-12-06 23:50:43 +01:00
Ryan Prior
6374a25357
gnu: esbuild: Update to 0.8.19.
* gnu/packages/web.scm (esbuild): Update to 0.8.19.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-06 23:19:15 +01:00
Ludovic Courtès
7f13e8d862
doc: Add note on the importance of bootstrapping.
* doc/guix.texi (Bootstrapping): Remove distinction between "regular
users" and "hackers".  Explain the importance of the question.
2020-12-06 23:18:08 +01:00
Ludovic Courtès
ce3b5e5a8d
services: mpd: Make /var/run/mpd/USER user-owned.
Fixes <https://bugs.gnu.org/44820>.
Reported by Simon <lists@netpanic.org>.

This is a followup to bb124f6e9c.

* gnu/services/audio.scm (mpd-service-activation): Chown the parent of
DIRECTORY as well.
2020-12-06 23:18:08 +01:00
Ekaitz Zarraga
383f087cd7
gnu: freecad: Update to 0.18.5
* gnu/packages/engineering.scm (freecad): Update to 0.18.5

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-12-06 22:28:10 +01:00
Ekaitz Zarraga
50c24bbd4f
gnu: freecad: Fix compilation flags.
* gnu/packages/engineering.scm (freecad)[arguments]: Set correct
search paths in compilation flags.  Fixes <https://bugs.gnu.org/43448>.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-12-06 22:28:10 +01:00
Christopher Baines
bca3220b60
gnu: guix-build-coordinator: Update to 0-10.79e28fb.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-10.79e28fb.
2020-12-06 21:09:42 +00:00
Christopher Baines
eb0b29f13d
gnu: guix-build-coordinator: Support cross-compilation.
Due to fibers not supporting the Hurd yet, the coordinator itself won't work,
but the agent should.

* gnu/packages/package-management.scm (guix-build-coordinator)[inputs]: Don't
include sqitch if building for the hurd.
[propagated-inputs]: Don't include guile-fibers if building for the hurd.
2020-12-06 21:09:42 +00:00
Christopher Baines
7306c67912
gnu: guile-lib: Support cross-compilation.
* gnu/packages/guile-xyz.scm (guile-lib)[native-inputs]: Add guile-3.0.
(guile2.0-lib, guile2.2-lib)[native-inputs]: Explicitly specifiy pkg-config.
2020-12-06 21:09:41 +00:00
Marius Bakke
329fa5bdbb
Revert "linux-container: Correct test for unprivileged user namespace support."
This broke 'guix environment --container' on non-Debian distributions.
Fixes <https://bugs.gnu.org/45066>.  Reported by luhux <luhux@outlook.com>.

This reverts commit 8bc5ca5160.
2020-12-06 21:55:18 +01:00