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