summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/gremlin.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gremlin.scm b/tests/gremlin.scm
index 2885554967b..f1089e7da6d 100644
--- a/tests/gremlin.scm
+++ b/tests/gremlin.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2015, 2018 Ludovic Courtès <ludo@gnu.org>
3;;; 3;;;
4;;; This file is part of GNU Guix. 4;;; This file is part of GNU Guix.
5;;; 5;;;
@@ -27,8 +27,8 @@
27 #:use-module (ice-9 match)) 27 #:use-module (ice-9 match))
28 28
29(define %guile-executable 29(define %guile-executable
30 (match (command-line) 30 (match (false-if-exception (readlink "/proc/self/exe"))
31 ((program . _) 31 ((? string? program)
32 (and (file-exists? program) (elf-file? program) 32 (and (file-exists? program) (elf-file? program)
33 program)) 33 program))
34 (_ 34 (_