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*'.
This commit is contained in:
Ludovic Courtès 2015-02-08 01:32:53 +01:00
parent 27e86bed53
commit 843b196287
1 changed files with 2 additions and 1 deletions

View File

@ -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")