~ruther/guix-local

dc1045be7d9ba2257ce2ce97c9fdd3c02e5b1897 — Ludovic Courtès 13 years ago 1f34bda
packages: Accept <origin> as package inputs.

* guix/packages.scm (package-derivation): Accept use of an <origin> as
  an input.
1 files changed, 3 insertions(+), 0 deletions(-)

M guix/packages.scm
M guix/packages.scm => guix/packages.scm +3 -0
@@ 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)