me
/
guix
Archived
1
0
Fork 0

gnu: n2n: Fix cross-compilation.

* gnu/packages/vpn.scm (n2n)[arguments]<#:phases>: Add (or native-inputs
inputs) to SEARCH-INPUT-FILE.
Nicolas Goaziou 2022-02-22 19:50:51 +01:00
parent c07f499345
commit 346a686369
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 4 additions and 3 deletions

View File

@ -319,13 +319,14 @@ endpoints.")
#~(modify-phases %standard-phases
(add-before 'bootstrap 'move-configure
;; Don't execute configure script in bootstrap.
(lambda* (#:key inputs #:allow-other-keys)
(lambda _
(substitute* "autogen.sh"
(("./configure") ""))))
(add-before 'configure 'fix-configure
(lambda* (#:key inputs #:allow-other-keys)
(lambda* (#:key inputs native-inputs #:allow-other-keys)
(substitute* "configure"
(("/bin/sh") (search-input-file inputs "/bin/sh"))))))
(("/bin/sh")
(search-input-file (or native-inputs inputs) "/bin/sh"))))))
#:tests? #f)) ;there is no check target
(native-inputs
(list autoconf automake bash-minimal pkg-config))