mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: openssl: Fix cross-compile issues.
* gnu/packages/openssl.scm (openssl): Move perl from inputs to native-inputs. Replace reference to target bash with the native bash or target bash as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
9b937137fb
commit
94e450812b
1 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ (define-public openssl
|
|||
(sha256 (base32
|
||||
"1gjy6a7d8nszi9wq8jdzx3cffn0nss23h3cw2ywlw4cb9v6v77ia"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("perl" ,perl)))
|
||||
(native-inputs `(("perl" ,perl)))
|
||||
(arguments
|
||||
'(#:parallel-build? #f
|
||||
#:parallel-tests? #f
|
||||
|
@ -52,8 +52,8 @@ (define-public openssl
|
|||
(string-append "--prefix=" out)))))
|
||||
(alist-cons-before
|
||||
'patch-source-shebangs 'patch-tests
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((bash (assoc-ref inputs "bash")))
|
||||
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
||||
(let ((bash (assoc-ref (or native-inputs inputs) "bash")))
|
||||
(substitute* (find-files "test" ".*")
|
||||
(("/bin/sh")
|
||||
(string-append bash "/bin/bash"))
|
||||
|
|
Loading…
Reference in a new issue