~ruther/guix-local

cf5699604621bf6b16569534805faa3559e778a6 — Ludovic Courtès 13 years ago 10d8289
packages: Allow store paths as inputs.

* guix/packages.scm (package-derivation): Allow non-derivation store
  paths as inputs.
1 files changed, 3 insertions(+), 1 deletions(-)

M guix/packages.scm
M guix/packages.scm => guix/packages.scm +3 -1
@@ 200,7 200,9 @@ with their propagated inputs, recursively."
                          (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?))