help-guix
[Top][All Lists]
Advanced

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

Re: Racket (require gregor)


From: Bonface M. K.
Subject: Re: Racket (require gregor)
Date: Sun, 20 Dec 2020 01:05:50 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

yasu <yasu@yasuaki.com> writes:

> Hi!
> I am tring to use the gregor package using my Racket  program:
> #lang racket(require gregor)
> But it fails with fthe ollowing error:
> Unable to locate the zoneinfo database on this computer. We searched
> for it in the following places:  - /usr/share/zoneinfo  -
> /usr/share/lib/zoneinfo  - /etc/zoneinfo
> There is a suggestion at: 
> https://lists.gnu.org/archive/html/help-guix/2018-08/msg00073.html of
> installing tzdata
> After installig it with: raco pkg install tzdata,
> It did not help (I still get exact same error). If there are users of
> Racket..., would you please try the same and see if it works for you?
> Cheers,
> Yasu
>

A bit late for the party, but one way to do it
would be to run Racket in a container, and as
usual export the necessary certs:

--8<---------------cut here---------------start------------->8---
# Create the container and expose the zoneinfo
./pre-inst-env guix environment -N -C --expose=/usr/share/zoneinfo --ad-hoc 
racket-minimal nss-certs coreutils libedit

export SSL_CERT_DIR="$GUIX_ENVIRONMENT/etc/ssl/certs" && export 
SSL_CERT_FILE="$GUIX_ENVIRONMENT/etc/ssl/certs/ca-certificates.crt"
--8<---------------cut here---------------end--------------->8---

I do things that way since there's a racket
program[0] I ran in a server; and it's convenient
on that regard...

[0] http://git.genenetwork.org/GeneNetwork/feedanalyser.git

-- 
Bonface M. K. <https://www.bonfacemunyoki.com>
Humble GNU Emacs User / Bearer of scheme-y parens
Curator: <https://upbookclub.com> / Twitter: @BonfaceKilz
GPG Key: D4F09EB110177E03C28E2FE1F5BBAE1E0392253F

Attachment: signature.asc
Description: PGP signature


reply via email to

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