Commit Graph

44257 Commits

Author SHA1 Message Date
Ludovic Courtès 3f9bed04f0
linux-container: Compute essential services for THIS-OPERATING-SYSTEM.
Previously, the 'essential-services' would correspond to the initial,
non-containerized OS.  Thus, all the file systems removed in
'container-essential-services' would actually still be there because the
essential services would be computed on the non-containerized OS.

This is a followup to 69cae3d335.

* gnu/system/linux-container.scm (container-essential-services): Call
'operating-system-default-essential-services' to get the baseline
services.
(containerized-operating-system): Pass THIS-OPERATING-SYSTEM, not OS, to
'container-essential-services'.
Add a dummy root file system to 'file-systems'.
(container-script)[mountable-file-system?]: New procedure.
Use it.
2019-05-15 16:36:21 +02:00
Ludovic Courtès 6edd5c546c
linux-container: Do not add %CONTAINER-FILE-SYSTEMS to Docker image OSes.
Previously, 'guix system docker-image' would end up providing an OS that
would try to mount all of %CONTAINER-FILE-SYSTEMS as well as /gnu/store,
which is bound to fail in unprivileged Docker.

This patch makes it so that 'guix system container' still gets those
file systems, but 'guix system docker-image' doesn't.

* gnu/system/linux-container.scm (containerized-operating-system): Add
 #:extra-file-systems parameter and honor it.  Do not include
 %STORE-MAPPING and SHARED-NETWORK-FILE-MAPPINGS.
(container-script): Add %STORE-MAPPING and optionally NETWORK-MAPPINGS
to MAPPINGS and pass #:extra-file-systems.
2019-05-15 16:36:21 +02:00
Ludovic Courtès 32747aa987
nls: Update 'zh_CN' translation. 2019-05-15 16:36:21 +02:00
Florian Pelz d906028fd1
doc: Mention ModemManager.
* doc/guix.texi (Desktop Services): Mention ModemManager here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-15 16:36:20 +02:00
Ludovic Courtès 1537464819
installer: Rename 'auto-partition' to 'auto-partition!'.
This is a followup to 7d567af46b.

* gnu/installer/parted.scm (create-adjacent-partitions): Rename to...
(create-adjacent-partitions!): ... this.  Make private.
(auto-partition): Rename to...
(auto-partition!): ... this.
* gnu/installer/newt/partition.scm (run-partioning-page): Adjust
accordingly.
2019-05-15 16:36:20 +02:00
Danny Milosavljevic 79bfa42287
gnu: Add python-pylzma.
* gnu/packages/python-xyz.scm (python-pylzma): New variable.
(python2-pylzma): New variable.
2019-05-15 15:22:22 +02:00
Ludovic Courtès 33572a3662
tests: Skip unreliable "herd invalidate nscd" test.
* gnu/tests/base.scm (run-basic-test)["nscd invalidate action, wrong
table"]: Skip unconditionally.
2019-05-15 12:18:51 +02:00
Ludovic Courtès 8b310793d2
tests: 'getlogin' test creates its file atomically.
Previously we could end up reading an empty /root/login-id file.

* gnu/tests/base.scm (run-basic-test)["getlogin on tty1"]: Create
/root/login-id atomically.
2019-05-15 12:18:51 +02:00
Ludovic Courtès 604b167bf2
marionette: Add braces to the keystrokes.
* gnu/build/marionette.scm (%qwerty-us-keystrokes): Add braces.
2019-05-15 12:18:51 +02:00
Ludovic Courtès 7d567af46b
installer: Mount ESP once only.
Fixes <https://bugs.gnu.org/35731>.

* gnu/installer/newt/partition.scm (run-partioning-page)[run-page]:
Introduce 'initial-partitions' variable.  Previously we'd call
'disk-partitions' after 'auto-partition' had done its job of creating
new partitions, and thus its result would contain the just-created
partitions.  Consequently, 'create-special-user-partitions' would return
the ESP partition we just created, and thus it would appear twice in the
list.
2019-05-15 12:18:51 +02:00
Florian Pelz 36f5d78d4a
services: Include ModemManager in %desktop-services.
* gnu/services/desktop.scm (%desktop-services): Add modem-manager-service-type.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-15 12:18:50 +02:00
Arun Isaac 06c7b1f614
import: github: Sort releases before picking the latest one.
* guix/import/github.scm (latest-released-version): Sort releases before
picking the first one as the latest.
2019-05-15 13:29:50 +05:30
Arun Isaac c558772b0f
import: github: Improve readability.
* guix/import/github.scm (latest-released-version)[release->version]: Separate
out release->version as a new function.
2019-05-15 13:29:50 +05:30
Gábor Boskovits 0f9bbd32c1
gnu: Update copyright line.
* gnu/services/monitoring.scm: Update copyright line.
2019-05-15 09:52:17 +02:00
Mathieu Othacehe 3114786e3e
installer: Increase backtrace verbosity.
* gnu/installer.scm (installer-program): Set terminal-width to 200 to
make guile backtraces more verbose.
2019-05-15 09:28:45 +02:00
Marius Bakke ba2d913192
gnu: Remove python2-httpretty.
This package is severely out of date compared to its Python 3 counterpart and
difficult to upgrade.  Since it has no dependents in Guix and Python 2 is
officially deprecated by the end of this year, just remove it.

* gnu/packages/web.scm (python2-httpretty): Remove variable.
2019-05-15 00:22:52 +02:00
Marius Bakke 556530c95c
gnu: vigra, notmuch: Use the Python3 Sphinx variant.
* gnu/packages/image.scm (vigra)[native-inputs]: Change PYTHON2-SPHINX to
PYTHON-SPHINX.
* gnu/packages/mail.scm (notmuch)[native-inputs]: Likewise.
2019-05-15 00:22:51 +02:00
Marius Bakke 75ea39da55
gnu: tbb: Add a source file name.
* gnu/packages/tbb.scm (tbb)[source](file-name): New field.
2019-05-15 00:22:51 +02:00
Marius Bakke b1b74ecffd
gnu: tbb: Update to 2019_U6.
* gnu/packages/tbb.scm (tbb): Update to 2019_U6.
2019-05-15 00:22:51 +02:00
Marius Bakke 128001487f
gnu: samba: Update to 4.10.3.
* gnu/packages/samba.scm (samba): Update to 4.10.3.
2019-05-15 00:22:51 +02:00
Marius Bakke 142a1684a7
gnu: oniguruma: Update to 6.9.2.
* gnu/packages/textutils.scm (oniguruma): Update to 6.9.2.
2019-05-15 00:22:51 +02:00
gabrielhdt 2f8e77bee2
gnu: Add ocaml-odoc.
* gnu/packages/ocaml.scm (ocaml-odoc): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-05-14 21:40:36 +02:00
gabrielhdt 908a2ee0ed
gnu: Add ocaml-bisect-ppx.
* gnu/packages/ocaml.scm (ocaml-bisect-ppx): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-05-14 21:37:57 +02:00
gabrielhdt e2506afcaf
gnu: Add ocaml-tyxml.
* gnu/packages/ocaml.scm (ocaml-tyxml): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-05-14 21:36:34 +02:00
gabrielhdt 38089b549f
gnu: Add ocaml-markup.
* gnu/packages/ocaml.scm (ocaml-markup): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-05-14 21:33:48 +02:00
Julien Lepiller 6b4a6c201a
gnu: python-requests-oauthlib: Fix building.
* gnu/packages/python-web.scm (python-requests-oauthlib)[native-inputs]:
Add python-pyjwt for tests.
2019-05-14 21:20:19 +02:00
Leo Famulari 7bd30ea988
gnu: certbot, python-acme: Update to 0.34.2.
* gnu/packages/tls.scm (certbot, python-acme): Update to 0.34.2.
2019-05-14 15:06:29 -04:00
Julien Lepiller 3617d4f913
gnu: ocaml-base64: Update to 3.2.0.
* gnu/packages/ocaml.scm (ocaml-base64): Update to 3.2.0.
[origin]: Use git-fetch.
(ocaml-piqilib)[origin]: Add a patch to fix building with new
versions of ocaml-base64.
* gnu/packages/patches/ocaml-piqilib-Update-base64.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-05-14 21:05:32 +02:00
Julien Lepiller 9f5a3ba659
gnu: ocaml-tsdl: Update to 0.9.6.
* gnu/packages/ocaml.scm (ocaml-tsdl): Update to 0.9.6.
2019-05-14 21:05:21 +02:00
Julien Lepiller 70a5701141
gnu: ocaml-ocb-stubblr: Fix build failures using it.
* gnu/packages/ocaml.scm (ocaml-ocb-stubblr)[arguments]: Add a phase to
fix guix-specific issues.
2019-05-14 21:05:14 +02:00
Julien Lepiller fbf786bd1d
gnu: ocaml-sqlite3: Update to 4.4.1.
* gnu/packages/ocaml.scm (ocaml-sqlite3): Update to 4.4.1.
[origin]: Use git-fetch.
2019-05-14 21:04:47 +02:00
Julien Lepiller 3cf62cd6cb
gnu: dune: Update to 1.9.3.
* gnu/packages/ocaml.scm (dune): Update to 1.9.3.
2019-05-14 21:04:30 +02:00
Danny Milosavljevic 1a92f1ff1c
installer: Add fat16.
* gnu/installer/newt/partition.scm (run-fs-type-page): Add fat16.
2019-05-14 18:01:10 +02:00
Danny Milosavljevic 813e06ac67
installer: Add btrfs-progs to PATH.
* gnu/installer.scm (installer-program): Add btrfs-progs to PATH.
2019-05-14 18:01:10 +02:00
Mathieu Othacehe 2bfb3883b9
installer: Reflow run-file-textbox-page text.
* gnu/installer/newt/page.scm (run-file-textbox-page): Reflow text.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-14 18:01:10 +02:00
Danny Milosavljevic b7488b321d
installer: Fix docstring.
* gnu/installer/parted.scm (create-fat32-file-system): Fix docstring.
2019-05-14 18:01:09 +02:00
Danny Milosavljevic 628d09ae53
installer: Add fat16.
* gnu/installer/parted.scm (user-fs-type-name): Add fat16.
(user-fs-type->mount-type): Add fat16.
(create-fat16-file-system): New procedure.
(format-user-partitions): Use it.
2019-05-14 18:01:08 +02:00
Ricardo Wurmus 44323e63a3
gnu: Add ataqv.
* gnu/packages/bioinformatics.scm (ataqv): New variable.
2019-05-14 16:15:19 +02:00
Björn Höfling 46ca002d1c
gnu: burp: Update to 2.3.6.
* gnu/packages/backup.scm (burp):  Update to 2.3.6.
2019-05-14 14:19:19 +02:00
Björn Höfling 91a403a457
gnu: anthy: Update source URI.
* gnu/packages/anthy (anthy)[source]: Update URI.
2019-05-14 14:00:55 +02:00
Björn Höfling 53923b0fb1
gnu: jnettop: Use archived source and homepage.
* gnu/packages/admin.scm (jnettop)[source,home-page]:
Use archive.org mirror.
2019-05-14 14:00:55 +02:00
Björn Höfling 5395cec2c5
gnu: xdot: Update to 1.1.
* gnu/packages/graphviz.scm (xdot): Update to 1.1.
2019-05-14 14:00:54 +02:00
Efraim Flashner 1731b29742
gnu: font-hermit: Download as 'url-fetch/tarbomb'.
* gnu/packages/fonts.scm (font-hermit)[source]: Use 'url-fetch/tarbomb'
method.
[arguments]: Remove custom phases.
2019-05-14 14:47:44 +03:00
Ludovic Courtès 45d41c035e
guix build: Gracefully handle invalid '--with-git-url' specs.
* guix/scripts/build.scm (transform-package-source-git-url): Add case
for when 'string-split' does not return exactly two elements.
2019-05-14 12:11:05 +02:00
LaFreniere, Joseph dcc3d4030f
gnu: Add emacs-evil-cleverparens
* gnu/packages/emacs-xyz.scm (emacs-evil-cleverparens): New
  variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-14 12:11:05 +02:00
Ludovic Courtès ef250707d3
installer: Allow for arbitrary long passphrases and passwords.
Fixes <https://bugs.gnu.org/35716>.
Reported by sirmacik <sirmacik@wioo.waw.pl>.

* gnu/installer/newt/page.scm (run-input-page): Add FLAG-SCROLL to
INPUT-FLAGS*.
* gnu/installer/newt/user.scm (run-user-add-page): Add FLAG-SCROLL to
ENTRY-PASSWORD.
2019-05-14 12:11:04 +02:00
Zzull 50867421f9
gnu: Add font-hermit
* gnu/packages/fonts.scm (font-hermit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-14 12:11:04 +02:00
Ludovic Courtès 8d080506f4
gnu: munge: Pass '--localstatedir=/var'.
Previously, Munge users such as Slurm would fail with:

  squeue: error: Munge encode failed: Failed to access "/gnu/store/…-munge-0.5.13/var/run/munge/munge.socket.2": No such file or directory
  squeue: error: authentication: Socket communication error

* gnu/packages/admin.scm (munge)[source](modules, snippet): New fields.
[arguments]: New field.
2019-05-14 12:11:04 +02:00
Ludovic Courtès 05d907ac6f
services: Add 'network-manager-applet' to %DESKTOP-SERVICES.
Fixes <https://bugs.gnu.org/35554>.
Reported by Calle Kabo <calle@kabo.nu>.

* gnu/services/desktop.scm (%desktop-services): Add
'network-manager-applet' service.
2019-05-14 12:11:04 +02:00
Ludovic Courtès 3ea420f337
gnu: hdf5: Add dependency on Perl.
* gnu/packages/maths.scm (hdf5)[native-inputs]: Add PERL.
2019-05-14 12:11:04 +02:00