diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-08-16 18:48:03 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-08-16 18:48:03 +0200 |
commit | cf5699604621bf6b16569534805faa3559e778a6 (patch) | |
tree | 63041ab5066532859875f90c25a39b319918dcb1 | |
parent | 10d82898611572dd9be02c18a51089e14bcd7207 (diff) | |
download | guix-cf5699604621bf6b16569534805faa3559e778a6.tar.gz guix-cf5699604621bf6b16569534805faa3559e778a6.zip |
packages: Allow store paths as inputs.
* guix/packages.scm (package-derivation): Allow non-derivation store
paths as inputs.
-rw-r--r-- | guix/packages.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/packages.scm b/guix/packages.scm index c835e92815..311e3b6048 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -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?)) |