Ludovic Courtès
ab6025b52c
channels: Gracefully report the lack of a 'guix' channel.
...
* guix/channels.scm (channel-instance-derivations): Raise an '&message'
condition when CORE-INSTANCE is #f.
2019-01-20 18:11:11 +01:00
Ludovic Courtès
acefa7408b
channels: Build channel modules in an inferior.
...
This ensures that channel modules are compiled with the right Guile,
that they get to see the right modules, and so on. IOW, it avoids bugs
such as those addressed by commits
3c0e16391e
and
cb341c1219
.
* guix/channels.scm (standard-module-derivation): Add 'core'
parameter. Rewrite in terms of 'gexp->derivation-in-inferior'.
(build-from-source): Add #:core parameter and pass it to
'standard-module-derivation'.
(build-channel-instance): Add 'core' parameter and pass it on.
(channel-instance-derivations)[dependencies]: Remove.
Adjust 'build-channel-instance' call.
2019-01-20 17:57:14 +01:00
Ludovic Courtès
1fafc383b1
inferior: 'gexp->derivation-in-inferior' honors EXP's load path.
...
Previously the imported modules and extensions of EXP would be missing
from the load path of 'guix repl'.
* guix/inferior.scm (gexp->derivation-in-inferior)[script]: New
variable.
[trampoline]: Write (primitive-load #$script) to PIPE. Add #$output.
* tests/channels.scm ("channel-instances->manifest")[depends?]: Check
for requisites rather than direct references.
Adjust callers accordingly.
2019-01-20 17:57:14 +01:00
Ludovic Courtès
ed75bdf35c
channels: Don't pull from the same channel more than once.
...
Previous 'channel-instance->manifest' would call
'latest-channel-derivation', which could trigger another round of
'latest-repository-commit' for no good reason.
* guix/channels.scm (resolve-dependencies): New procedure.
(channel-instance-derivations)[edges]: New variable.
[instance->derivation]: New procedure.
* tests/channels.scm (make-instance): Use 'checkout->channel-instance'
instead of 'channel-instance'.
("channel-instances->manifest"): New test.
2019-01-20 17:57:14 +01:00
Tobias Geerinckx-Rice
ff8a66bc61
gnu: ocrad: Update to 0.27.
...
* gnu/packages/ocr.scm (ocrad): Update to 0.27.
2019-01-20 16:34:43 +01:00
Tobias Geerinckx-Rice
04f3a5a4ae
gnu: links: Update to 2.18.
...
* gnu/packages/web-browsers.scm (links): Update to 2.18.
2019-01-20 16:34:42 +01:00
Tobias Geerinckx-Rice
1c17adbc79
gnu: csound: Update to 6.12.0.
...
* gnu/packages/audio.scm (csound): Update to 6.12.0.
2019-01-20 15:34:09 +01:00
Efraim Flashner
cc178ac717
gnu: %desktop-services: Use polkit-service-type.
...
* gnu/services/desktop.scm (%desktop-services): Replace polkit-service
with polkit-service-type.
2019-01-20 16:11:08 +02:00
Efraim Flashner
76a2b2db1a
gnu: %base-services: Use *getty-service-type.
...
* gnu/services/base.scm (%base-services): Replace agetty-service with
agetty-service-type, mingetty-service with mingetty-service-type.
2019-01-20 16:11:07 +02:00
Efraim Flashner
178bce41d8
gnu: %base-services: Use login-service-type.
...
* gnu/services/base.scm (login-service-type)[default-value]: New field.
(%base-services): Replace login-service with login-service-type.
2019-01-20 16:11:05 +02:00
Efraim Flashner
fd779db9e4
services: %base-services: Use udev-service-type.
...
* gnu/services/base.scm (udev-configuration): Fix typo.
(udev-service-type)[default-value]: New field.
(%base-services): Replace udev-service with udev-service-type.
2019-01-20 16:11:05 +02:00
Efraim Flashner
db9035492b
services: %base-services: Use nscd-service-type.
...
* gnu/services/base.scm (nscd-service-type)[default-value]: New field.
(%base-services): Replace nscd-service with nscd-service-type.
2019-01-20 16:11:04 +02:00
Efraim Flashner
7194745a16
services: Use guix-service-type.
...
* gnu/services/base.scm (%base-services): Replace guix-service with
guix-service-type.
* gnu/system/examples/docker-image.tmpl (services): Same.
2019-01-20 16:11:00 +02:00
Efraim Flashner
3b98522b28
tests: More adjustments to python.scm split.
...
This is a followup to 44d10b1f72
.
* tests/lint.scm: Update imports.
2019-01-20 11:49:10 +02:00
Efraim Flashner
4e1f9a2f2c
lint: check-source-unstable-tarball: Don't assume uri length.
...
* guix/scripts/lint.scm (check-source-unstable-tarball): Replace third
with code to make sure there are enough elements to check.
2019-01-20 11:43:28 +02:00
Kei Kebreau
71f2b4b8f3
gnu: vboot-utils: Install development keys.
...
* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys'
phase.
2019-01-20 01:51:39 -05:00
Ludovic Courtès
93d137020b
gnu: subversion: Mention "svn" in the description.
...
* gnu/packages/version-control.scm (subversion)[description]: Mention
"svn".
2019-01-20 01:42:11 +01:00
Ludovic Courtès
7e6d8d366a
ci: Use a valid 'current-guix'.
...
This fixes a regression introduced in
b5f8c2c885
whereby 'current-guix' (needed
by some of the system tests) would fail to build.
Reported by Ricardo Wurmus <rekado@elephly.net>.
It also speeds up compilation of 'current-guix' since the channel
instance is already compiled or can be built quickly compared to the
default 'current-guix'.
* gnu/packages/package-management.scm (current-guix-package): New
variable.
(current-guix): Honor it.
* gnu/ci.scm (channel-build-system): New variable.
(channel-instances->derivation): New procedure.
(system-test-jobs): Add #:source and #:commit parameters.
Define 'instance' and parameterize CURRENT-GUIX-PACKAGE.
(hydra-jobs)[checkout, commit, source]: New variables.
Pass #:source and #:commit to 'system-test-jobs'.
2019-01-20 01:42:11 +01:00
Ludovic Courtès
38b77f3464
profiles: Allow a profile to be added as an entry of another profile.
...
* guix/build/profiles.scm (build-etc/profile): When 'OUTPUT/etc/profile'
already exists, delete it first.
(build-profile): Likewise for 'OUTPUT/manifest'.
* tests/profiles.scm ("profile in profile"): New test.
2019-01-20 01:42:11 +01:00
Ludovic Courtès
2d17a904ac
tests: Adjust to python.scm split.
...
This is a followup to 44d10b1f72
.
* tests/profiles.scm ("package->manifest-entry, search paths"): Adjust
module name for PYTHON2-MATPLOTLIB.
2019-01-20 01:42:11 +01:00
Nicolas Goaziou
85a3d63f4a
gnu: emacs-matrix-client: Update to a0623667.
...
* gnu/packages/emacs-xyz.scm (emacs-matrix-client): Update to a0623667.
2019-01-19 22:32:57 +01:00
Ricardo Wurmus
977403feb2
gnu: texlive-texmf: Fix build.
...
This is a follow-up to commit a1b4d62cda
.
* gnu/packages/tex.scm (texlive-texmf)[arguments]: Unset texlive-bin search
path.
2019-01-19 19:55:56 +01:00
Efraim Flashner
560df540a6
gnu: Add endless-sky.
...
* gnu/packages/games.scm (endless-sky): New variable.
2019-01-19 19:18:37 +02:00
Rutger Helling
8d09e97b8c
gnu: wine-staging: Update to 4.0-rc7.
...
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 4.0-rc7.
* gnu/packages/wine.scm (wine-staging): Update to 4.0-rc7.
2019-01-19 11:28:47 +01:00
Ludovic Courtès
8bb62ae10c
self: Add gnu/tests/* to the installed files.
...
* guix/self.scm (compiled-guix)[*system-modules*]: Add gnu/tests/*.
2019-01-19 01:26:34 +01:00
Ludovic Courtès
9a0bc7b5aa
gnu: spacefm: Fix build against glibc 2.28.
...
* gnu/packages/lxde.scm (spacefm)[source](modules, snippet): New fields.
2019-01-19 01:26:34 +01:00
Ludovic Courtès
1d80ec44d3
gnu: youtube-dl: Update to 2019.01.17.
...
* gnu/packages/video.scm (youtube-dl): Update to 2019.01.17.
2019-01-19 01:26:34 +01:00
Ludovic Courtès
1a7dbc11c5
maint: Add gnu/ci.scm to the distribution.
...
* gnu/local.mk (GNU_SYSTEM_MODULES): Add %D%/ci.scm.
2019-01-19 01:26:34 +01:00
Leo Famulari
d680a8afd1
gnu: Inkscape: Update to 0.92.4.
...
* gnu/packages/inkscape.scm (inkscape): Update to 0.92.4.
[source]: Remove obsolete patches.
2019-01-18 18:45:37 -05:00
Tobias Geerinckx-Rice
043eeda100
gnu: smartmontools: Update to 7.0.
...
* gnu/packages/admin.scm (smartmontools): Update to 7.0.
2019-01-19 00:03:34 +01:00
Tobias Geerinckx-Rice
9e5709f00d
gnu: openconnect: Update to 8.02.
...
* gnu/packages/vpn.scm (openconnect): Update to 8.02.
2019-01-19 00:03:31 +01:00
Tobias Geerinckx-Rice
8b1d0ff43c
gnu: openconnect: Use HTTPS home page.
...
* gnu/packages/vpn.scm (openconnect)[home-page]: Use HTTPS.
2019-01-19 00:03:25 +01:00
Tobias Geerinckx-Rice
3a1d01ca32
gnu: liburcu: Update to 0.10.2.
...
* gnu/packages/datastructures.scm (liburcu): Update to 0.10.2.
2019-01-19 00:03:23 +01:00
Tobias Geerinckx-Rice
4dfda8dce0
gnu: liburcu: Use HTTPS home page.
...
* gnu/packages/datastructures.scm (liburcu)[home-page]: Use HTTPS.
2019-01-19 00:03:14 +01:00
Nicolas Goaziou
fdc7299a56
gnu: emacs-matrix-client: Bump revision.
...
* gnu/packages/emacs-xyz.scm (emacs-matrix-client): Bump revision to trigger
the update, since updating commit is not enough.
2019-01-18 22:28:30 +01:00
Danny Milosavljevic
69e47686c9
tests: docker: Use "package" instead of "dummy-package".
...
* gnu/tests/docker.scm (build-tarball&run-docker-test): Use "package" instead
of "dummy-package".
2019-01-18 22:24:14 +01:00
Ricardo Wurmus
64a1ddba7a
gnu: graphene: Remove custom autogen phase.
...
* gnu/packages/gtk.scm (graphene)[arguments]: Remove 'autogen phase.
2019-01-18 20:37:34 +01:00
Ricardo Wurmus
3b39ae9f4b
gnu: Add libnfs.
...
* gnu/packages/file-systems.scm (libnfs): New variable.
2019-01-18 20:32:24 +01:00
Ricardo Wurmus
204cfbe1f4
gnu: Add mozjs-60.
...
* gnu/packages/gnuzilla.scm (mozjs-60): New variable.
2019-01-18 20:32:12 +01:00
Ricardo Wurmus
6cc147a31b
gnu: mozjs-52: Add configure flag to prevent crash.
...
* gnu/packages/gnuzilla.scm (mozjs-52)[arguments]: Pass "--disable-jemalloc"
to prevent crashes in gnome-shell.
2019-01-18 20:32:04 +01:00
Ricardo Wurmus
4b2ed6c2a3
gnu: Add libdazzle.
...
* gnu/packages/gnome.scm (libdazzle): New variable.
2019-01-18 20:29:28 +01:00
Ricardo Wurmus
0c90d4ad0a
gnu: Add libimobiledevice.
...
* gnu/packages/libusb.scm (libimobiledevice): New variable.
2019-01-18 20:27:58 +01:00
Ricardo Wurmus
dddf975ffb
gnu: Add libusbmuxd.
...
* gnu/packages/libusb.scm (libusbmuxd): New variable.
2019-01-18 20:24:00 +01:00
Ricardo Wurmus
1b95533740
gnu: Add libplist.
...
* gnu/packages/libusb.scm (libplist): New variable.
2019-01-18 20:23:54 +01:00
Ricardo Wurmus
3ecb1d0552
gnu: libusb.scm: Use license: prefix.
...
* gnu/packages/libusb.scm: Use "license:" prefix.
2019-01-18 20:23:25 +01:00
Ricardo Wurmus
bd9d3db6fe
gnu: Add umockdev.
...
* gnu/packages/check.scm (umockdev): New variable.
2019-01-18 20:22:27 +01:00
Ricardo Wurmus
dbac4833b4
gnu: ibus: Do not hardcode Python version.
...
* gnu/packages/ibus.scm (ibus)[arguments]: Remove hardcoded Python version.
2019-01-18 17:58:58 +01:00
Ludovic Courtès
3bbd6919bd
pull: Suggest running 'hash guix' if needed.
...
Fixes <https://bugs.gnu.org/33647 >.
Suggested by Diego Nicola Barbato <dnbarbato@posteo.de>.
* guix/scripts/pull.scm (build-and-install): Before returning, display a
hint if (which "guix") is not in PROFILE.
2019-01-18 17:51:34 +01:00
Ludovic Courtès
9fe3f11398
serialization: 'restore-file' errors out upon non-convertible file names.
...
Fixes <https://bugs.gnu.org/33603 >.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.
* guix/serialization.scm (port-conversion-strategy): New variable.
(restore-file): Parameterize it.
* tests/nar.scm ("restore-file with non-UTF8 locale"): New test.
2019-01-18 17:51:34 +01:00
Ludovic Courtès
7bf1dc7570
build: Add coq.scm to the distribution.
...
This is a followup to 33af92dd99
.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/packages/coq.scm.
2019-01-18 17:51:34 +01:00