summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/packages.scm3
1 files changed, 3 insertions, 0 deletions
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 @@ recursively."
                               (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)