Commit graph

44528 commits

Author SHA1 Message Date
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
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