Commit Graph

44240 Commits

Author SHA1 Message Date
Ludovic Courtès 1b0d2b2afc
build: Add 'docker-image.tmpl' to the distribution.
Fixes <https://bugs.gnu.org/35774>.
Reported by Ting-Wei Lan <lantw44@gmail.com>.

* Makefile.am (EXAMPLES): Add docker-image.tmpl.
2019-05-18 12:03:11 +02:00
Ludovic Courtès c34684b6bc
Update NEWS. 2019-05-17 11:25:51 +02:00
Ludovic Courtès 0e77eee8c8
nls: Update 'es' translation. 2019-05-17 11:22:29 +02:00
Ludovic Courtès 61886e5d0e
nls: Update 'de' translation. 2019-05-17 11:20:02 +02:00
Ludovic Courtès 22872f7666
Update NEWS. 2019-05-16 18:52:27 +02:00
Ludovic Courtès 762ba22efe
maint: 'check-available-binaries' checks for more packages.
Fixes <https://bugs.gnu.org/35539>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* build-aux/check-available-binaries.scm (packages-for-system): New procedure.
<top level>: Use it.
2019-05-16 18:50:20 +02:00
Ludovic Courtès 9da2dd90e2
gnu: js-mathjax: Avoid "Too many open files" error while building.
* gnu/packages/javascript.scm (js-mathjax)[arguments]: Add call to
'close-pipe'.  Previously builds would sometimes fail with EMFILE (this
was non-deterministic as it depends on GC activity.)
2019-05-16 17:06:18 +02:00
Ludovic Courtès 9c64080dce
vm-image: Remove ModemManager.
This is a followup to 36f5d78d4a.

* gnu/system/examples/vm-image.tmpl (services): Remove
MODEM-MANAGER-SERVICE-TYPE.
2019-05-16 14:42:40 +02:00
Ludovic Courtès fc0680929d
vm-image: Remove 'network-manager-applet' from system profile.
This is a followup to 05d907ac6f.

* gnu/system/examples/vm-image.tmpl (services): Remove
'network-manager-applet'.
2019-05-16 14:37:23 +02:00
Ricardo Wurmus fbeb92d760
gnu: custom-gcc: Unhide resulting package.
This is a follow-up to commit d78010b81e.  While
the plain "gcc" packages should be hidden by default, gcc-derived packages
like "gfortran" should not.

* gnu/packages/gcc.scm (custom-gcc)[properties]: Remove the 'hidden? property.
2019-05-16 13:45:23 +02:00
Ricardo Wurmus a4ff3255d4
gnu: star: Update to 2.7.1a.
* gnu/packages/bioinformatics.scm (star): Update to 2.7.1a.
2019-05-16 13:45:23 +02:00
Florian Pelz 3e9c80b27a
gnu: network-manager-applet: Patch libnma for modem support.
* gnu/packages/gnome.scm (network-manager-applet): Patch libnma to load
iso-codes and mobile-broadband-provider-info from the store and not require
them in the profile.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-16 13:30:32 +02:00
Ludovic Courtès ce10e6053b
guix system: Type-check the file or expression.
Previously, users would get a wrong-type-arg exception down the road
with an intimidating backtrace.

* guix/scripts/system.scm (process-action)[ensure-operating-system]: New
procedure.
Use it.
2019-05-16 13:24:06 +02:00
Nicolas Goaziou 6e633a510c
gnu: grammalecte: Update to 1.1.
* gnu/packages/dictionaries.scm (grammalecte): Update to 1.1.
2019-05-16 10:37:04 +02:00
Tobias Geerinckx-Rice d019c05a42
gnu: loksh: Update to 6.5.
* gnu/packages/shells.scm (loksh): Update to 6.5.
2019-05-16 02:40:07 +02:00
Tobias Geerinckx-Rice f9f7e28bc4
gnu: cssc: Update to 1.4.1.
* gnu/packages/version-control.scm (cssc): Update to 1.4.1.
2019-05-16 02:40:07 +02:00
Tobias Geerinckx-Rice e75f87b558
gnu: git-lfs: Update to 2.7.2.
* gnu/packages/version-control.scm (git-lfs): Update to 2.7.2.
2019-05-16 02:40:07 +02:00
Tobias Geerinckx-Rice f8ea653ea6
gnu: ndctl: Update to 65.
* gnu/packages/disk.scm (ndctl): Update to 65.
2019-05-16 02:40:07 +02:00
Mark H Weaver 294e43a32d
gnu: linux-libre: Update to 5.1.2.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.2.
(%linux-libre-hash): Update hash.
2019-05-15 18:57:11 -04:00
Mark H Weaver 644ccc9011
gnu: linux-libre@4.19: Update to 4.19.43.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.43.
(%linux-libre-4.19-hash): Update hash.
2019-05-15 18:56:17 -04:00
Mark H Weaver 0b67460918
gnu: linux-libre@4.14: Update to 4.14.119.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.119.
(%linux-libre-4.14-hash): Update hash.
2019-05-15 18:55:33 -04:00
Mark H Weaver d9cc8659fc
gnu: linux-libre@4.9: Update to 4.9.176.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.176.
2019-05-15 18:54:44 -04:00
Maxim Cournoyer b8e5de5608
gnu: python-jedi: Update to 0.13.3.
* gnu/packages/python-xyz.scm (python-jedi): Update to 0.13.3.
(python2-jedi): Enable tests.
2019-05-15 17:47:48 -04:00
Tobias Geerinckx-Rice dc555d86e1
gnu: elixir: Update to 1.8.2.
* gnu/packages/elixir.scm (elixir): Update to 1.8.2.
2019-05-15 21:23:57 +02:00
Tobias Geerinckx-Rice 5a04c993b6
gnu: perl-data-page: Update to 2.03.
* gnu/packages/perl.scm (perl-data-page): Update to 2.03.
2019-05-15 21:23:57 +02:00
Tobias Geerinckx-Rice 9fb0464c21
gnu: perl-text-csv: Update to 2.00.
* gnu/packages/perl.scm (perl-text-csv): Update to 2.00.
2019-05-15 21:23:57 +02:00
Tobias Geerinckx-Rice 5af7428b79
gnu: ubridge: Don't use unstable tarball.
* gnu/packages/networking.scm (ubridge)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-05-15 21:23:57 +02:00
Tobias Geerinckx-Rice e8e2281ee9
gnu: ubridge: Update to 0.9.15.
* gnu/packages/networking.scm (ubridge): Update to 0.9.15.
2019-05-15 21:23:57 +02:00
Tobias Geerinckx-Rice fa3040d929
gnu: perl-time-duration: Update to 1.21.
* gnu/packages/perl.scm (perl-time-duration): Update to 1.21.
2019-05-15 21:23:57 +02:00
Tobias Geerinckx-Rice 103cdcd456
gnu: python-django-rq: Update to 1.3.1.
* gnu/packages/django.scm (python-django-rq): Update to 1.3.1.
2019-05-15 21:23:57 +02:00
Ludovic Courtès 247649d42e
vm: 'system-docker-image' provides an entry point.
This simplifies use of images created with 'guix system docker-image'.

* gnu/system/vm.scm (system-docker-image)[boot-program]: New variable.
[os]: Add it to the GC roots.
[build]: Pass #:entry-point to 'build-docker-image'.
* gnu/tests/docker.scm (run-docker-system-test): New procedure.
(%test-docker-system): New variable.
* doc/guix.texi (Invoking guix system): Remove GUIX_NEW_SYSTEM hack and
'--entrypoint' from the example.  Mention 'docker create', 'docker
start', and 'docker exec'.
2019-05-15 16:36:21 +02:00
Ludovic Courtès 7ff4fde257
docker: 'build-docker-image' accepts an optional #:entry-point.
* guix/docker.scm (config): Add #:entry-point and honor it.
(build-docker-image): Likewise.
2019-05-15 16:36:21 +02:00
Ludovic Courtès 9fcfe30d28
system: Add 'operating-system-with-gc-roots'.
* gnu/tests/install.scm (operating-system-with-gc-roots): Move to...
* gnu/system.scm (operating-system-with-gc-roots): ... here.  New
procedure.
2019-05-15 16:36:21 +02:00
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