diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-02-08 01:32:53 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-02-08 19:00:39 +0100 |
commit | 843b196287eee1fb1f4a54fbb3a66b7a36fc89f2 (patch) | |
tree | 8511825a09bf25b63d6e6e326c1d60987662af10 /gnu | |
parent | 27e86bed5371630d5b74ea839115aa39a11f852d (diff) | |
download | guix-843b196287eee1fb1f4a54fbb3a66b7a36fc89f2.tar guix-843b196287eee1fb1f4a54fbb3a66b7a36fc89f2.tar.gz |
gnu: guile-ssh: Correct post-installation test.
* gnu/packages/ssh.scm (guile-ssh)[arguments]
<fix-libguile-ssh-file-name>: Call 'zero?' to check the return value of
'system*'.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ssh.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 7cdc305e9f..3d058b14db 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -216,7 +216,8 @@ Additionally, various channel-specific options can be negotiated.") ;; Make sure it works. (setenv "GUILE_LOAD_PATH" guiledir) (setenv "GUILE_LOAD_COMPILED_PATH" guiledir) - (system* "guile" "-c" "(use-modules (ssh session))"))) + (zero? + (system* "guile" "-c" "(use-modules (ssh session))")))) %standard-phases)) #:configure-flags (list (string-append "--with-guilesitedir=" (assoc-ref %outputs "out") |