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:
parent
7b7e32d5ad
commit
26e67e0280
1 changed files with 1 additions and 4 deletions
|
@ -81,10 +81,7 @@ trap 'chmod -Rf +w "$test_directory"; rm -rf "$test_directory"' EXIT
|
||||||
(service home-bash-service-type
|
(service home-bash-service-type
|
||||||
(home-bash-configuration
|
(home-bash-configuration
|
||||||
(guix-defaults? #t)
|
(guix-defaults? #t)
|
||||||
(bashrc
|
(bashrc (list (local-file "dot-bashrc")))))
|
||||||
(list
|
|
||||||
(local-file (string-append (dirname (current-filename))
|
|
||||||
"/dot-bashrc"))))))
|
|
||||||
|
|
||||||
(simple-service 'home-bash-service-extension-test
|
(simple-service 'home-bash-service-extension-test
|
||||||
home-bash-service-type
|
home-bash-service-type
|
||||||
|
|
Reference in a new issue