tests: Simplify use of 'local-file' in 'tests/guix-home.sh'.

* tests/guix-home.sh: Remove 'current-filename' trickery since
'local-file' resolves file names relative to the containing file.
This commit is contained in:
Ludovic Courtès 2022-02-18 22:59:44 +01:00
parent 7b7e32d5ad
commit 26e67e0280
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 4 deletions

View File

@ -81,10 +81,7 @@ trap 'chmod -Rf +w "$test_directory"; rm -rf "$test_directory"' EXIT
(service home-bash-service-type
(home-bash-configuration
(guix-defaults? #t)
(bashrc
(list
(local-file (string-append (dirname (current-filename))
"/dot-bashrc"))))))
(bashrc (list (local-file "dot-bashrc")))))
(simple-service 'home-bash-service-extension-test
home-bash-service-type