~ruther/guix-local

bce0fe8293a15331ed8b4e9a76354988f10e1ef5 — Philip McGrath 2 years ago 0a69961
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>
1 files changed, 2 insertions(+), 0 deletions(-)

M gnu/packages/racket.scm
M gnu/packages/racket.scm => gnu/packages/racket.scm +2 -0
@@ 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