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 @@ (define* (package-derivation store package (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?))