summaryrefslogtreecommitdiff
path: root/guix/packages.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/packages.scm')
-rw-r--r--guix/packages.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index c835e92815..311e3b6048 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -200,7 +200,9 @@ with their propagated inputs, recursively."
(list name (package-derivation store package)
sub-drv))
(((? string? name)
- (and (? string?) (? derivation-path?) drv))
+ (and (? string?) (? store-path?) drv))
+ ;; Both derivation and output paths. The latter
+ ;; can be files already in the store.
(list name drv))
(((? string? name)
(and (? string?) (? (negate store-path?))