diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-11-08 13:33:25 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-11-08 22:36:20 +0100 |
commit | c5a4a92f1a796e342b7db4c458f1fdb61ffc8d40 (patch) | |
tree | b7b59ee6fc7d0153120b333c82145a830b83988a /TODO | |
parent | 49483f71381ad32cdbe81b1c8ed2cc023329cc18 (diff) | |
download | patches-c5a4a92f1a796e342b7db4c458f1fdb61ffc8d40.tar patches-c5a4a92f1a796e342b7db4c458f1fdb61ffc8d40.tar.gz |
gnu: Improve error reporting of the use-.*modules macros.
Suggested by Julien Lepiller and myglc2
at <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00106.html>.
* gnu.scm (%try-use-modules): New procedure.
(package-module-hint, service-module-hint): New procedures.
(try-use-modules): New macro.
(use-package-modules, use-service-modules, use-system-modules): Use it.
* tests/guix-system.sh: Test it.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions