diff --git a/guix/packages.scm b/guix/packages.scm index c3a17640eb..2d269ad339 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -179,7 +179,13 @@ representation." sub-drv)) (((? string? name) (and (? string?) (? derivation-path?) drv)) - (list name drv))) + (list name drv)) + (((? string? name) + (and (? string?) (? (negate store-path?)) + (? file-exists? file))) + (list name + (add-to-store store (basename file) + #t #f "sha256" file)))) (concatenate (list native-inputs inputs propagated-inputs))))) (apply builder