diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-05-04 13:34:21 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-05-04 15:40:33 +0200 |
commit | 7f540e3ce0eecb1dedf18e51ac6b161a13a2c625 (patch) | |
tree | 87899366f7031681f90f8993e1c0b4be9d528fbb /gnu/packages | |
parent | ead465a31243be62de864d32a65d2b8fee54b9e1 (diff) | |
download | guix-7f540e3ce0eecb1dedf18e51ac6b161a13a2c625.tar.gz guix-7f540e3ce0eecb1dedf18e51ac6b161a13a2c625.zip |
gnu: indi: Check slightly more functionally.
* gnu/packages/astronomy.scm (indi)[arguments]: Substitute
WITH-DIRECTORY-EXCURSION for double CHDIR.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/astronomy.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index c55c4d8062..0b54122068 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -818,9 +818,8 @@ provide you with detailed information about each pass.") (modify-phases %standard-phases (replace 'check (lambda _ - (chdir "test") - (invoke "ctest") - (chdir "..") + (with-directory-excursion "test" + (invoke "ctest")) #t)) (add-before 'install 'set-install-directories (lambda* (#:key outputs #:allow-other-keys) |