Commit graph

37213 commits

Author SHA1 Message Date
Ludovic Courtès
74685a4369
services: file-system: Filter what goes to /etc/fstab.
Fixes a longstanding issue whereby, due to our long fstab that included
pseudo file systems like cgroup mounts, graphical file managers would
display all of these.  Initially reported at
<https://lists.gnu.org/archive/html/help-guix/2017-11/msg00084.html>.

* gnu/services/base.scm (file-system-fstab-entries): New procedure.
(file-system-service-type): Use it to extend FSTAB-SERVICE-TYPE.
2019-04-27 00:11:52 +02:00
Julien Lepiller
b05290380f
gnu: ocaml-ppxlib: Update to 0.6.0.
* gnu/packages/ocaml.scm (ocaml-ppxlib): Update to 0.6.0.
(dune): Update to 1.9.1.
2019-04-26 23:57:00 +02:00
Julien Lepiller
cf338cc305
gnu: ocaml-migrate-parsetree: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-migrate-parsetree)[properties]: New
field.
2019-04-26 23:35:24 +02:00
Julien Lepiller
b7ebcb043c
gnu: ocaml-ppx-expect: Update to 0.12.0.
* gnu/packages/ocaml.scm (ocaml-ppx-inline-test): Update to 0.12.0.
(ocaml-ppx-expect): Update to 0.12.0.
2019-04-26 23:35:19 +02:00
Julien Lepiller
ee33e415e7
gnu: ocaml-frontc: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-frontc)[properties]: New field.
2019-04-26 23:35:17 +02:00
Julien Lepiller
d4857001a1
gnu: ocaml-ppx-tools: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-ppx-tools)[properties]: New field.
2019-04-26 23:35:15 +02:00
Julien Lepiller
f08b235dab
gnu: ocaml-lwt-log: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-lwt-log)[properties]: New field.
2019-04-26 23:35:13 +02:00
Julien Lepiller
c949a4eb1f
gnu: ocaml-ppx-tools-versioned: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-ppx-tools-versioned)[properties]: New
field.
2019-04-26 23:35:11 +02:00
Julien Lepiller
d9faae6254
gnu: ocaml-compiler-libs: Add upstream name.
* gnu/packages/ocaml.scm (ocaml-compiler-libs)[properties]: New field.
2019-04-26 23:35:08 +02:00
Julien Lepiller
1e5937c8c0
gnu: ocaml-ppx-derivers: Update to 1.2.1.
* gnu/packages/ocaml.scm (ocaml-ppx-derivers): Update to 1.2.1.
2019-04-26 23:35:03 +02:00
Julien Lepiller
1e8439de27
gnu: ocaml-pcre: Update to 7.4.1.
* gnu/packages/ocaml.scm (ocaml-pcre): Update to 7.4.1.
[build-system]: Use dune-build-system.
[source]: Use git-fetch.
2019-04-26 23:34:59 +02:00
Julien Lepiller
acb98ad956
gnu: ocaml-stringext: Update to 1.5.0.
* gnu/packages/ocaml.scm (ocaml-stringext): Update to 1.5.0.
[source]: Use git-fetch.
[build-system]: Use dune-build-system.
2019-04-26 23:34:54 +02:00
Julien Lepiller
09cd92a983
gnu: ocaml-zarith: Update to 1.7.
* gnu/packages/ocaml.scm (ocaml-zarith): Update to 1.7.
[source]: Use git-fetch.
2019-04-26 23:34:41 +02:00
Julien Lepiller
eddfd11d70
gnu: ocaml-topkg: Update to 1.0.0.
* gnu/packages/ocaml.scm (ocaml-topkg): Update to 1.0.0.
2019-04-26 23:34:31 +02:00
Julien Lepiller
853af25ecd
gnu: ocaml-mtime: Update to 1.1.0.
* gnu/packages/ocaml.scm (ocaml-mtime): Update to 1.1.0.
2019-04-26 23:34:26 +02:00
Julien Lepiller
3f59ecfcb5
gnu: ocaml-qcheck: Update to 0.9.
* gnu/packages/ocaml.scm (ocaml-qcheck): Update to 0.9.
2019-04-26 23:34:10 +02:00
Ricardo Wurmus
152cbc3ca5
gnu: r-with-tests: Update to 3.6.0.
* gnu/packages/statistics.scm (r-with-tests): Update to 3.6.0.
[arguments]: Adjust "build-reproducibly" phase.
[native-inputs]: Add a texlive-union consisting of texlive-fonts-amsfonts,
texlive-fonts-ec, texlive-latex-amsfonts, texlive-latex-base,
texlive-latex-fancyvrb, texlive-latex-graphics, texlive-latex-hyperref,
texlive-latex-oberdiek, texlive-latex-tools, texlive-latex-upquote, and
texlive-latex-url.
2019-04-26 21:00:41 +02:00
Ricardo Wurmus
7f55904558
gnu: Add umi-tools.
* gnu/packages/bioinformatics.scm (umi-tools): New variable.
2019-04-26 21:00:37 +02:00
Timothy Sample
8caa458953
gnu: gdm: Install a placeholder desktop entry.
This fixes <https://bugs.gnu.org/35068>.

* gnu/packages/gnome.scm (gdm)[arguments]: Add a phase that installs a
placeholder desktop entry file.

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-26 13:57:39 -04:00
Leo Famulari
8597aecb84
gnu: MPD: Update to 0.21.8.
* gnu/packages/mpd.scm (mpd): Update to 0.21.8.
2019-04-26 13:36:59 -04:00
Nicolas Goaziou
936a4f4371
gnu: mame: Update to 0.209.
* gnu/packages/emulators.scm (mame): Update to 0.209.
2019-04-26 18:54:16 +02:00
Julien Lepiller
e379d1b5ef
gnu: dns: Fix configuration formating.
* gnu/services/dns.scm (format-string-list): Fix formating of lists with
only one symbol.
2019-04-26 18:37:48 +02:00
Julien Lepiller
273ba2552b
gnu: ocaml-integers: Update to 0.3.0.
* gnu/packages/ocaml.scm (ocaml-integers): Update to 0.3.0.
2019-04-26 18:29:02 +02:00
Julien Lepiller
12c3f62ab2
gnu: ocaml-easy-format: Update to 1.3.1.
* gnu/packages/ocaml.scm (ocaml-easy-format): Update to 1.3.1.
[build-system]: Use dune-build-system.
[source]: Use git-fetch.
2019-04-26 18:28:58 +02:00
Julien Lepiller
7e49538483
gnu: ocaml-fpath: Update to 0.7.2.
* gnu/packages/ocaml.scm (ocaml-fpath): Update to 0.7.2.
2019-04-26 18:28:54 +02:00
Julien Lepiller
b858c5ac39
gnu: ocaml-ssl: Update to 0.5.7.
* gnu/packages/ocaml.scm (ocaml-ssl): Update to 0.5.7.
2019-04-26 18:28:49 +02:00
Julien Lepiller
44b8507d5e
gnu: ocaml-octavius: Update to 1.2.1.
* gnu/packages/ocaml.scm (ocaml-octavius): Update to 1.2.1.
2019-04-26 18:28:46 +02:00
Julien Lepiller
22cd6a1d4f
gnu: ocaml-result: Update to 1.3.
* gnu/packages/ocaml.scm (ocaml-result): Update to 1.3.
[build-system]: Use dune-build-system.
[source]: Use git-fetch.
2019-04-26 18:28:42 +02:00
Julien Lepiller
5cb40adaa2
gnu: ocaml-utop: Update to 2.3.0.
* gnu/packages/ocaml.scm (ocaml-utop): Update to 2.3.0.
2019-04-26 18:28:25 +02:00
Ludovic Courtès
d7b05620a9
vm-image: Remove NetworkManager & co. and add the DHCP client.
* gnu/system/examples/vm-image.tmpl (services): Remove wpa-supplicant,
cups-pk-helper, and NetworkManager.  Add DHCP-CLIENT-SERVICE-TYPE.
2019-04-26 18:24:55 +02:00
Ludovic Courtès
a9a0790376
gnu: xfdesktop: Stick a Guix logo in the background image.
* gnu/packages/xfce.scm (xfdesktop)[source](modules, snippet): New
fields.
[arguments]: New field.
[native-inputs]: Add INKSCAPE and IMAGEMAGICK.
2019-04-26 18:23:56 +02:00
Ludovic Courtès
94e1439800
services: cups-pk-helper: Export.
* gnu/services/desktop.scm (cups-pk-helper-service-type): Export.
2019-04-26 18:07:46 +02:00
Ludovic Courtès
1ac6c33cae
vm-image: Use the actual file name of the current file.
* gnu/system/examples/vm-image.tmpl (this-file): Use 'basename' and
'current-source-location'.
2019-04-26 16:47:11 +02:00
Ludovic Courtès
98f035482f
installer: Actually reboot when the user presses "Reboot."
* gnu/installer/newt/final.scm (run-install-success-page): Return
'success.
* gnu/installer.scm (installer-program): Check the result of the 'final
step and reboot upon success.
2019-04-26 14:19:36 +02:00
Ludovic Courtès
9529f7850e
installer: Take 'guix system init' exit code into account.
This allows the installer to distinguish success from failure, and also
ensures the shell that runs 'guix system init' exits upon completion.

* gnu/installer/utils.scm (run-shell-command)[pause]: New procedure.
Add "exec" before COMMAND in the script.  Guard 'invoke' call and handle
'invoke-error?'.  Add call to 'pause' on completion.
* gnu/installer/final.scm (install-system): Remove 'false-if-exception'.
2019-04-26 14:19:36 +02:00
Ludovic Courtès
6c849cdb98
installer: Run wrapped program with 'execl', not 'system'.
'system' invokes /bin/sh, which is certainly not needed here.

* gnu/installer.scm (installer-program): Use 'execl', not 'system'.
2019-04-26 14:19:36 +02:00
Ludovic Courtès
538b99f31f
system: Provide a new VM image configuration.
* gnu/system/examples/vm-image.tmpl: Rewrite.
* doc/guix.texi (Running Guix in a VM): Adjust accordingly.
2019-04-26 14:19:36 +02:00
Ludovic Courtès
504a0fc636
accounts: Always honor the configured user account shell.
Starting from commit 0ae735bcc8, Guix
System would preserve the user shell across reconfigure and reboot.
This was done so as to allow for the use of 'chsh'.

This proved to be a misguided decision.  This commit goes back to
considering user shells as config and not "state."

* gnu/build/accounts.scm (allocate-passwd): Do not use shell from
PREVIOUS.
2019-04-26 14:19:36 +02:00
Tobias Geerinckx-Rice
7342923d98
gnu: wgetpaste: Add and use wget input.
This package has but one purpose; late binding's overkill.

* gnu/packages/wget.scm (wgetpaste)[arguments]: Add ‘use-inputs’ phase.
[inputs]: Add wget.
2019-04-26 04:36:02 +02:00
Tobias Geerinckx-Rice
4f7db08571
gnu: hcxdumptool: Update to 5.1.4.
* gnu/packages/networking.scm (hcxdumptool): Update to 5.1.4.
2019-04-26 00:58:16 +02:00
Tobias Geerinckx-Rice
03c443ce8f
gnu: hcxtools: Update to 5.1.4.
* gnu/packages/networking.scm (hcxtools): Update to 5.1.4.
2019-04-26 00:58:06 +02:00
Tobias Geerinckx-Rice
55036ddc9a
gnu: soundtouch: Update to 2.1.1.
* gnu/packages/audio.scm (soundtouch): Update to 2.1.1.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
Remove patches.
* gnu/packages/patches/soundtouch-CVE-2018-1000223.patch,
gnu/packages/patches/soundtouch-CVE-2018-14044-14045.patch:
Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2019-04-26 00:56:32 +02:00
Tobias Geerinckx-Rice
88507036f6
gnu: tmux-xpanes: Update to 4.1.0.
* gnu/packages/tmux.scm (tmux-xpanes): Update to 4.1.0.
2019-04-26 00:54:00 +02:00
Arun Isaac
9be92490b5
gnu: librepcb: Update to 0.1.1.
* gnu/packages/engineering.scm (librepcb): Update to 0.1.1.
2019-04-26 01:58:30 +05:30
Julien Lepiller
92eb600f8a
gnu: knot-service: Add includes field in configuration.
* gnu/services/dns.scm (knot-configuration): Add includes field.
(verify-knot-configuration): Check includes content.
(knot-config-file): Serialize includes.
* doc/guix.texi (DNS Services): Document it.
2019-04-25 21:44:55 +02:00
Leo Famulari
ca3cf2d58e
gnu: tmux: Update to 2.9.
* gnu/packages/tmux.scm (tmux): Update to 2.9.
2019-04-25 13:57:09 -04:00
Julien Lepiller
b68aff1f05
gnu: certbot: Add support for manual plugin.
* gnu/services/certbot.scm (certificate-configuration): Add challenge,
auth-hook and cleanup-hook fields.
(certbot-command): Use them.
* doc/guix.texi (Certificate Services): Document them.
2019-04-25 19:46:18 +02:00
Julien Lepiller
c3634df2a4
gnu: ocaml@4.02: Remove the package, affected by a CVE, and its dependent
packages.

This fixes <https://bugs.gnu.org/27462>.

* gnu/packages/ocaml.scm (ocaml-4.02, camlp4-4.02, ocaml4.02-menhir)
(ocaml4.02-lablgtk, ocaml4.02-findlib, ocaml4.02-ounit)
(ocaml4.02-camlzip, ocaml4.02-ocamlmod, ocaml4.02-zarith)
(ocaml4.02-qcheck, ocaml4.02-qtest, ocaml4.02-stringext)
(ocaml4.02-bisect, ocaml4.02-bitstring, ocaml4.02-result)
(ocaml4.02-topkg, ocaml4.02-rresult, ocaml4.02-sqlite3, ocaml4.02-csv)
(ocaml4.02-mtime, ocaml4.02-cmdliner, ocaml4.02-fmt, ocaml4.02-astring)
(ocaml4.02-alcotest, ocaml4.02-ppx-tools, ocaml4.02-react, ocaml4.02-ssl)
(ocaml4.02-lwt, ocaml4.02-lwt-log, ocaml4.02-logs, ocaml4.02-fpath)
(ocaml4.02-bos, ocaml4.02-xmlm, ocaml4.02-ulex, ocaml4.02-uchar)
(ocaml4.02-uutf, ocaml4.02-jsonm, ocaml4.02-ocurl, ocaml4.02-base64)
(ocaml4.02-omake, ocaml4.02-batteries, ocaml4.02-pcre, ocaml4.02-oasis)
(ocaml4.02-js-build-tools, ocaml4.02-bin-prot, ocaml4.02-fieldslib)
(ocaml4.02-ppx-core, ocaml4.02-ppx-optcomp, ocaml4.02-ppx-driver)
(ocaml4.02-cppo, ocaml4.02-ppx-deriving, ocaml4.02-ppx-type-conv)
(ocaml4.02-ppx-inline-test, ocaml4.02-ppx-bench, ocaml4.02-ppx-compare)
(ocaml4.02-sexplib, ocaml4.02-typerep, ocaml4.02-variantslib)
(ocaml4.02-ppx-sexp-conv, ocaml4.02-ppx-variants-conv)
(ocaml4.02-ppx-here, ocaml4.02-ppx-assert, ocaml4.02-ppx-enumerate)
(ocaml4.02-ppx-let, ocaml4.02-ppx-typerep-conv, ocaml4.02-ppx-sexp-value)
(ocaml4.02-ppx-pipebang, ocaml4.02-ppx-bin-prot, ocaml4.02-ppx-fail)
(ocaml4.02-ppx-custom-printf, ocaml4.02-ppx-sexp-message)
(ocaml4.02-ppx-fields-conv, ocaml4.02-seq, ocaml4.02-re)
(ocaml4.02-ppx-expect, ocaml4.02-ppx-jane, ocaml4.02-core-kernel)
(ocaml4.02-async-kernel, ocaml4.02-async-rpc-kernel, ocaml4.02-core)
(ocaml4.02-async-unix, ocaml4.02-async-extra, ocaml4.02-async)
(ocaml4.02-ocplib-endian, ocaml4.02-easy-format, optcomp)
(ocaml4.02-piqilib, ocaml4.02-uuidm, ocaml4.02-graph, ocaml4.02-piqi)
(ocaml4.02-camomile, ocaml4.02-zed, ocaml4.02-lambda-term): Remove variables.
* guix/build-system/ocaml.scm (default-ocaml4.02)
(default-ocaml4.02-findlib, package-with-ocaml4.02)
(strip-ocaml4.02-variant): Remove variables.
2019-04-25 19:01:31 +02:00
Julien Lepiller
6e49426761
gnu: ocamlify: Downgrade to 0.0.1.
Version 0.0.2 cannot be built with the latest OCaml, whereas this
version does.  This is also the version used by opam.

* gnu/packages/ocaml.scm (ocamlify): Downgrade to 0.0.1.
[arguments]: Do not use ocaml-4.02.
2019-04-25 19:01:05 +02:00
Julien Lepiller
0705f389d1
gnu: Remove ocaml-jbuilder.
Jbuilder is deprecated and replaced by dune.

* gnu/packages/ocaml.scm (ocaml-jbuilder): Remove variable.
(ocaml-zed, ocaml-utop): Use dune-build-system.
2019-04-25 19:00:48 +02:00