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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user