gnu: guile-ssh: Fix cross-compilation.

* gnu/packages/ssh.scm (guile-ssh)[native-inputs]: Add guile.
This commit is contained in:
Mathieu Othacehe 2020-02-18 11:44:16 +01:00
parent 38655d7b88
commit a0d19554cb
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -291,7 +291,8 @@ (define-public guile-ssh
("libtool" ,libtool) ("libtool" ,libtool)
("texinfo" ,texinfo) ("texinfo" ,texinfo)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("which" ,which))) ("which" ,which)
("guile" ,guile-2.2))) ;needed when cross-compiling.
(inputs `(("guile" ,guile-2.2) (inputs `(("guile" ,guile-2.2)
("libssh" ,libssh) ("libssh" ,libssh)
("libgcrypt" ,libgcrypt))) ("libgcrypt" ,libgcrypt)))
@ -306,6 +307,9 @@ (define-public guile2.0-ssh
(package (package
(inherit guile-ssh) (inherit guile-ssh)
(name "guile2.0-ssh") (name "guile2.0-ssh")
(native-inputs
`(("guile" ,guile-2.0) ;needed when cross-compiling.
,@(alist-delete "guile" (package-native-inputs guile-ssh))))
(inputs `(("guile" ,guile-2.0) (inputs `(("guile" ,guile-2.0)
,@(alist-delete "guile" (package-inputs guile-ssh)))))) ,@(alist-delete "guile" (package-inputs guile-ssh))))))
@ -313,6 +317,9 @@ (define-public guile3.0-ssh
(package (package
(inherit guile-ssh) (inherit guile-ssh)
(name "guile3.0-ssh") (name "guile3.0-ssh")
(native-inputs
`(("guile" ,guile-next) ;needed when cross-compiling.
,@(alist-delete "guile" (package-native-inputs guile-ssh))))
(inputs `(("guile" ,guile-next) (inputs `(("guile" ,guile-next)
,@(alist-delete "guile" (package-inputs guile-ssh)))))) ,@(alist-delete "guile" (package-inputs guile-ssh))))))