summaryrefslogtreecommitdiff
path: root/gnu/system/examples/vm-image.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/system/examples/vm-image.tmpl')
-rw-r--r--gnu/system/examples/vm-image.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-image.tmpl
index d451c42bd8..62ed032731 100644
--- a/gnu/system/examples/vm-image.tmpl
+++ b/gnu/system/examples/vm-image.tmpl
@@ -22,7 +22,8 @@ accounts.\x1b[0m
"))
(define this-file
- (local-file "./vm-image.tmpl" "config.scm"))
+ (local-file (basename (assoc-ref (current-source-location) 'filename))
+ "config.scm"))
(operating-system