mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05: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:
parent
272db5bcf5
commit
1ac6c33cae
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue