mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-11 07:30:38 +02:00
vm-image: Use the actual file name of the current file.
* gnu/system/examples/vm-image.tmpl (this-file): Use 'basename' and 'current-source-location'.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user