From 9471aea76ace5c0998d889fc5fbde7a6bcafc654 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 2 Oct 2020 09:29:26 +0200 Subject: gexp: Fix argument ordering in 'local-file' macro. Fixes a regression introduced in f43ffee90882c2d61b46d69728daa7432be297e4. Reported by jonsger on #guix. * guix/gexp.scm (local-file): In the non-literal case, add #:literal? and #:location after REST. --- guix/gexp.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/gexp.scm b/guix/gexp.scm index 40346b61e1..25e4881d21 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -454,9 +454,9 @@ appears." (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 -- cgit v1.2.3