mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
packages: Accept <origin> as package inputs.
* guix/packages.scm (package-derivation): Accept use of an <origin> as an input.
This commit is contained in:
parent
1f34bda1e2
commit
dc1045be7d
1 changed files with 3 additions and 0 deletions
|
@ -245,6 +245,9 @@ (define* (package-derivation store package
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue