guix-commits
[Top][All Lists]
Advanced

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

02/04: gnu: racket: Declare OpenSSL search paths.


From: guix-commits
Subject: 02/04: gnu: racket: Declare OpenSSL search paths.
Date: Fri, 8 Sep 2023 02:12:05 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit bce0fe8293a15331ed8b4e9a76354988f10e1ef5
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Wed Aug 23 20:08:05 2023 -0400

    gnu: racket: Declare OpenSSL search paths.
    
    Otherwise, OpenSSL used via Racket fails to find certificates, e.g. when
    attempting to run 'raco pkg install'.
    
    Fixes <https://racket.discourse.group/t/2206/8>.
    
    * gnu/packages/racket.scm (racket-minimal)[native-search-paths]: Add
    $SSL_CERT_DIR and $SSL_CERT_FILE.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/racket.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm
index b6ab687a21..1e97f19dbb 100644
--- a/gnu/packages/racket.scm
+++ b/gnu/packages/racket.scm
@@ -29,6 +29,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix diagnostics)
   #:use-module (guix i18n)
+  #:use-module ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE))
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26)
   #:use-module (srfi srfi-34)
@@ -553,6 +554,7 @@ used to build the name of the resulting store item."
             "base" %racket-origin
             '(("base" "pkgs/base")
               ("racket-lib" "pkgs/racket-lib")))))
+    (native-search-paths (list $SSL_CERT_DIR $SSL_CERT_FILE))
     (build-system gnu-build-system)
     (arguments
      ;; Here and for the `racket` package, we're using #:configure-flags



reply via email to

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