diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-05-25 14:19:51 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-05-25 14:25:17 +0200 |
commit | bfe5264aa10c1af64adc5c24d0cf091562e3e09c (patch) | |
tree | 35a96110a4ae5d201edbf665f49513a08cf61a85 /tests/scripts.scm | |
parent | 4862a98be473ac6bb0bfd8a6cdbc81119cb44355 (diff) | |
download | patches-bfe5264aa10c1af64adc5c24d0cf091562e3e09c.tar patches-bfe5264aa10c1af64adc5c24d0cf091562e3e09c.tar.gz |
modules: Raise an error when a dependency could not be found.
* guix/modules.scm (&missing-dependency-error): New error condition.
(source-module-dependencies): Raise it when 'search-path' returns #f.
* tests/modules.scm ("&missing-dependency-error"): New test.
Diffstat (limited to 'tests/scripts.scm')
0 files changed, 0 insertions, 0 deletions