diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-09-06 00:00:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-09-06 00:00:00 +0200 |
commit | dc1045be7d9ba2257ce2ce97c9fdd3c02e5b1897 (patch) | |
tree | b1d6a11b0c8a7d8b31976b73efbbf17242879057 | |
parent | 1f34bda1e2e5ff8dc221c70e67705ca89638172f (diff) | |
download | gnu-guix-dc1045be7d9ba2257ce2ce97c9fdd3c02e5b1897.tar gnu-guix-dc1045be7d9ba2257ce2ce97c9fdd3c02e5b1897.tar.gz |
packages: Accept <origin> as package inputs.
* guix/packages.scm (package-derivation): Accept use of an <origin> as
an input.
-rw-r--r-- | guix/packages.scm | 3 |
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) |