[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: openssl: Fix cross-compile issues.

From: John Darrington
Subject: [PATCH] gnu: openssl: Fix cross-compile issues.
Date: Sun, 15 Dec 2013 09:03:37 +0100

* gnu/packages/openssl.scm (openssl): Move perl from inputs to
  Replace reference to target bash with the native bash or target bash as
 gnu/packages/openssl.scm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/openssl.scm b/gnu/packages/openssl.scm
index ca72aa8..438e76f 100644
--- a/gnu/packages/openssl.scm
+++ b/gnu/packages/openssl.scm
@@ -35,7 +35,7 @@
             (sha256 (base32
    (build-system gnu-build-system)
-   (inputs `(("perl" ,perl)))
+   (native-inputs `(("perl" ,perl)))
     '(#:parallel-build? #f
       #:parallel-tests? #f
@@ -52,8 +52,8 @@
                      (string-append "--prefix=" out)))))
         '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" ".*")
                (string-append bash "/bin/bash"))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]