mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gexp: Fix argument ordering in 'local-file' macro.
Fixes a regression introduced in
f43ffee908
.
Reported by jonsger on #guix.
* guix/gexp.scm (local-file): In the non-literal case, add #:literal?
and #:location after REST.
This commit is contained in:
parent
9dc27bc388
commit
9471aea76a
1 changed files with 2 additions and 2 deletions
|
@ -454,9 +454,9 @@ (define-syntax local-file
|
|||
(with-syntax ((location (datum->syntax s (syntax-source s))))
|
||||
#`(%local-file file
|
||||
(delay (absolute-file-name file (getcwd)))
|
||||
rest ...
|
||||
#:location 'location
|
||||
#:literal? #f
|
||||
rest ...)))
|
||||
#:literal? #f)))
|
||||
((_)
|
||||
#'(syntax-error "missing file name"))
|
||||
(id
|
||||
|
|
Loading…
Reference in a new issue