summaryrefslogtreecommitdiff
path: root/guix/gexp.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/gexp.scm')
-rw-r--r--guix/gexp.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/gexp.scm b/guix/gexp.scm
index 76fffc4908..9339b226b7 100644
--- a/guix/gexp.scm
+++ b/guix/gexp.scm
@@ -457,11 +457,11 @@ appears."
(delay (absolute-file-name file (current-source-directory)))
rest ...))
((_ (assume-valid-file-name file) rest ...)
- ;; FILE is not a literal, so resolve it relative to the source
+ ;; FILE is not a literal, so resolve it relative to the current
;; directory. Since the user declared FILE is valid, do not pass
;; #:literal? #f so that we do not warn about it later on.
#'(%local-file file
- (delay (absolute-file-name file (current-source-directory)))
+ (delay (absolute-file-name file (getcwd)))
rest ...))
((_ file rest ...)
;; Resolve FILE relative to the current directory.