guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gexp: Fix argument ordering in 'local-file' macro.


From: guix-commits
Subject: 01/02: gexp: Fix argument ordering in 'local-file' macro.
Date: Fri, 2 Oct 2020 03:43:30 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9471aea76ace5c0998d889fc5fbde7a6bcafc654
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Oct 2 09:29:26 2020 +0200

    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 40346b6..25e4881 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]