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
@ -454,9 +454,9 @@ appears."
|
|||||||
(with-syntax ((location (datum->syntax s (syntax-source s))))
|
(with-syntax ((location (datum->syntax s (syntax-source s))))
|
||||||
#`(%local-file file
|
#`(%local-file file
|
||||||
(delay (absolute-file-name file (getcwd)))
|
(delay (absolute-file-name file (getcwd)))
|
||||||
|
rest ...
|
||||||
#:location 'location
|
#:location 'location
|
||||||
#:literal? #f
|
#:literal? #f)))
|
||||||
rest ...)))
|
|
||||||
((_)
|
((_)
|
||||||
#'(syntax-error "missing file name"))
|
#'(syntax-error "missing file name"))
|
||||||
(id
|
(id
|
||||||
|
Loading…
Reference in New Issue
Block a user