diff --git a/guix/packages.scm b/guix/packages.scm index 094f8157d0..1394f980f7 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -245,6 +245,9 @@ (define* (package-derivation store package (list name (add-to-store store (basename file) #t #f "sha256" file))) + (((? string? name) (? origin? source)) + (list name + (package-source-derivation store source))) (x (raise (condition (&package-input-error (package package)