unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Re: Racket (require gregor)
       [not found] <mailman.69.1607792450.6761.help-guix@gnu.org>
@ 2020-12-12 18:03 ` jgart
  2020-12-15 21:03   ` Yasuaki Kudo
  2020-12-19 21:59   ` Bonface M. K.
  0 siblings, 2 replies; 10+ messages in thread
From: jgart @ 2020-12-12 18:03 UTC (permalink / raw)
  To: help-guix

There is not a racket-build-system for guix yet, atleast to my knowledge. 

I see we just got a chicken-build-system though :).

Is anyone working on a racket-build-system?

December 12, 2020 12:01 PM, help-guix-request@gnu.org wrote:

> Send Help-Guix mailing list submissions to
> help-guix@gnu.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.gnu.org/mailman/listinfo/help-guix
> or, via email, send a message with subject or body 'help' to
> help-guix-request@gnu.org
> 
> You can reach the person managing the list at
> help-guix-owner@gnu.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Help-Guix digest..."
> 
> Today's Topics:
> 
> 1. Re: Racket (require gregor) (yasu)
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 12 Dec 2020 17:52:02 +0900
> From: yasu <yasu@yasuaki.com>
> To: Tobias Geerinckx-Rice <me@tobias.gr>
> Cc: help-guix@gnu.org
> Subject: Re: Racket (require gregor)
> Message-ID:
> <93b54a78bcdf382d85d785dc8afc79a29ef968dc.camel@yasuaki.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> Thank you Tobias, it worked! 
> 
> I ended up modifying below section as shown:
> 
> ~/.racket/7.9/pkgs/tzinfo/tzinfo/private$ nvim zoneinfo.rkt
> 
> (define default-zoneinfo-search-path
> 
> (list
> (path->string
> (build-path
> (string-replace
> (with-output-to-string
> (lambda ()
> (system "guix build tzdata"))) "\n" "" )
> "share" "zoneinfo"))
> "/usr/share/zoneinfo"
> "/usr/share/lib/zoneinfo"
> "/etc/zoneinfo"))
> 
> But surely this is not the way to do it in Guix...
> 
> I wonder if there is a proper Guix integration for Racket's raco
> package manager?
> 
> -Yasu 
> 
> On Fri, 2020-12-11 at 15:24 +0100, Tobias Geerinckx-Rice wrote:
> 
>> Hi Yasu,
>> 
>> Yasuaki Kudo 写道:
>> Damn HTML doesn't work😅
>> 
>> Yes. Please don't send HTML e-mail to mailing lists: most people
>> don't like receiving it (e.g., sending me HTML mail is guaranteed
>> to land you in my Spam bin) & you never know how your mail will
>> appear to others.
>> 
>> (Resending, my html email keeps failing... Is this mailing list
>> automatically converting HTML messages to Plain Text or
>> something??)
>> 
>> Yes. We have enabled both ‘convert text/html parts to plain text’
>> and ‘collapse multipart/alternative to its first part content’.
>> 
>> If there are users of
>> Racket..., would you please try the same and see if it works for
>> you?
>> 
>> I get the same error, with the tzdata Racket (and Guix, just in
>> case) package install.
>> 
>> If I manually add $(guix build tzdata)/share/zoneinfo to
>> pkgs/tzinfo/tzinfo/private/zoneinfo.rkt's
>> default-zoneinfo-search-path, it works.
>> 
>> However, I didn't notice a $TZDIR-like mechanism to do so
>> ‘properly’.
>> 
>> Kind regards,
>> 
>> T G-R
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Help-Guix mailing list
> Help-Guix@gnu.org
> https://lists.gnu.org/mailman/listinfo/help-guix
> 
> ------------------------------
> 
> End of Help-Guix Digest, Vol 61, Issue 21
> *****************************************


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Racket (require gregor)
  2020-12-12 18:03 ` Racket (require gregor) jgart
@ 2020-12-15 21:03   ` Yasuaki Kudo
  2020-12-19 22:01     ` Bonface M. K.
  2020-12-19 21:59   ` Bonface M. K.
  1 sibling, 1 reply; 10+ messages in thread
From: Yasuaki Kudo @ 2020-12-15 21:03 UTC (permalink / raw)
  To: jgart, help-guix

If no one is working on it or has any plan to do so, maybe I can volunteer in the future 😊  But I am still learning both Guix and Racket… 😊

(I am thinking of starting a “worker cooperative” that specializes in legacy enterprise software replacement projects.  Both Guix and Racket will be important tools of trade I imagine 😊)

-Yasu

From: jgart
Sent: Sunday, December 13, 2020 3:43 AM
To: help-guix@gnu.org
Subject: Re: Racket (require gregor)

There is not a racket-build-system for guix yet, atleast to my knowledge. 

I see we just got a chicken-build-system though :).

Is anyone working on a racket-build-system?

December 12, 2020 12:01 PM, help-guix-request@gnu.org wrote:

> Send Help-Guix mailing list submissions to
> help-guix@gnu.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.gnu.org/mailman/listinfo/help-guix
> or, via email, send a message with subject or body 'help' to
> help-guix-request@gnu.org
> 
> You can reach the person managing the list at
> help-guix-owner@gnu.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Help-Guix digest..."
> 
> Today's Topics:
> 
> 1. Re: Racket (require gregor) (yasu)
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 12 Dec 2020 17:52:02 +0900
> From: yasu <yasu@yasuaki.com>
> To: Tobias Geerinckx-Rice <me@tobias.gr>
> Cc: help-guix@gnu.org
> Subject: Re: Racket (require gregor)
> Message-ID:
> <93b54a78bcdf382d85d785dc8afc79a29ef968dc.camel@yasuaki.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> Thank you Tobias, it worked! 
> 
> I ended up modifying below section as shown:
> 
> ~/.racket/7.9/pkgs/tzinfo/tzinfo/private$ nvim zoneinfo.rkt
> 
> (define default-zoneinfo-search-path
> 
> (list
> (path->string
> (build-path
> (string-replace
> (with-output-to-string
> (lambda ()
> (system "guix build tzdata"))) "\n" "" )
> "share" "zoneinfo"))
> "/usr/share/zoneinfo"
> "/usr/share/lib/zoneinfo"
> "/etc/zoneinfo"))
> 
> But surely this is not the way to do it in Guix...
> 
> I wonder if there is a proper Guix integration for Racket's raco
> package manager?
> 
> -Yasu 
> 
> On Fri, 2020-12-11 at 15:24 +0100, Tobias Geerinckx-Rice wrote:
> 
>> Hi Yasu,
>> 
>> Yasuaki Kudo 写道:
>> Damn HTML doesn't work😅
>> 
>> Yes. Please don't send HTML e-mail to mailing lists: most people
>> don't like receiving it (e.g., sending me HTML mail is guaranteed
>> to land you in my Spam bin) & you never know how your mail will
>> appear to others.
>> 
>> (Resending, my html email keeps failing... Is this mailing list
>> automatically converting HTML messages to Plain Text or
>> something??)
>> 
>> Yes. We have enabled both ‘convert text/html parts to plain text’
>> and ‘collapse multipart/alternative to its first part content’.
>> 
>> If there are users of
>> Racket..., would you please try the same and see if it works for
>> you?
>> 
>> I get the same error, with the tzdata Racket (and Guix, just in
>> case) package install.
>> 
>> If I manually add $(guix build tzdata)/share/zoneinfo to
>> pkgs/tzinfo/tzinfo/private/zoneinfo.rkt's
>> default-zoneinfo-search-path, it works.
>> 
>> However, I didn't notice a $TZDIR-like mechanism to do so
>> ‘properly’.
>> 
>> Kind regards,
>> 
>> T G-R
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Help-Guix mailing list
> Help-Guix@gnu.org
> https://lists.gnu.org/mailman/listinfo/help-guix
> 
> ------------------------------
> 
> End of Help-Guix Digest, Vol 61, Issue 21
> *****************************************



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Racket (require gregor)
  2020-12-12 18:03 ` Racket (require gregor) jgart
  2020-12-15 21:03   ` Yasuaki Kudo
@ 2020-12-19 21:59   ` Bonface M. K.
  1 sibling, 0 replies; 10+ messages in thread
From: Bonface M. K. @ 2020-12-19 21:59 UTC (permalink / raw)
  To: jgart; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

"jgart" <jgart@dismail.de> writes:

> There is not a racket-build-system for guix yet, atleast to my knowledge. 
>
> I see we just got a chicken-build-system though :).
>
> Is anyone working on a racket-build-system?
>

Yep I am. But I've put a pause on it for
now. Couldn't really work out how to resolve the
dependencies--- Racket is stateful with how it
manages dependencies which has made it very
difficult to have a working buid system. Nix seems
to have, that sorted out, but IIRC it's really
inefficient...

[...]

-- 
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Racket (require gregor)
  2020-12-15 21:03   ` Yasuaki Kudo
@ 2020-12-19 22:01     ` Bonface M. K.
  0 siblings, 0 replies; 10+ messages in thread
From: Bonface M. K. @ 2020-12-19 22:01 UTC (permalink / raw)
  To: Yasuaki Kudo; +Cc: help-guix, jgart

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

Yasuaki Kudo <yasu@yasuaki.com> writes:

> If no one is working on it or has any plan to do
> so, maybe I can volunteer in the future 😊 But I
> am still learning both Guix and Racket… 😊
>
> (I am thinking of starting a “worker cooperative”
> that specializes in legacy enterprise software
> replacement projects.  Both Guix and Racket will
> be important tools of trade I imagine 😊)
>
> -Yasu
>

I wouldn't mind collaborating on this! I could
share some of my notes with you if you don't
mind ...

-- 
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Racket (require gregor)
  2020-12-11 12:12 yasu
  2020-12-11 12:15 ` yasu
@ 2020-12-19 22:05 ` Bonface M. K.
  1 sibling, 0 replies; 10+ messages in thread
From: Bonface M. K. @ 2020-12-19 22:05 UTC (permalink / raw)
  To: yasu; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Racket (require gregor)
  2020-12-11 14:24     ` Tobias Geerinckx-Rice
@ 2020-12-12  8:52       ` yasu
  0 siblings, 0 replies; 10+ messages in thread
From: yasu @ 2020-12-12  8:52 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: help-guix

Thank you Tobias, it worked! 


I ended up modifying below section as shown:

~/.racket/7.9/pkgs/tzinfo/tzinfo/private$ nvim zoneinfo.rkt

(define default-zoneinfo-search-path

  (list
    (path->string
      (build-path
        (string-replace
          (with-output-to-string
            (lambda ()
                    (system "guix build tzdata"))) "\n" "" )
        "share" "zoneinfo"))
    "/usr/share/zoneinfo"
    "/usr/share/lib/zoneinfo"
    "/etc/zoneinfo"))


But surely this is not the way to do it in Guix...

I wonder if there is a proper Guix integration for Racket's raco
package manager?

-Yasu 



On Fri, 2020-12-11 at 15:24 +0100, Tobias Geerinckx-Rice wrote:
> Hi Yasu,
> 
> Yasuaki Kudo 写道:
> > Damn HTML doesn't work😅
> 
> Yes.  Please don't send HTML e-mail to mailing lists: most people 
> don't like receiving it (e.g., sending me HTML mail is guaranteed 
> to land you in my Spam bin) & you never know how your mail will 
> appear to others.
> 
> > (Resending, my html email keeps failing... Is this mailing list
> > automatically converting HTML messages to Plain Text or 
> > something??)
> 
> Yes.  We have enabled both ‘convert text/html parts to plain text’ 
> and ‘collapse multipart/alternative to its first part content’.
> 
> > If there are users of
> > Racket..., would you please try the same and see if it works for 
> > you?
> 
> I get the same error, with the tzdata Racket (and Guix, just in 
> case) package install.
> 
> If I manually add $(guix build tzdata)/share/zoneinfo to
> pkgs/tzinfo/tzinfo/private/zoneinfo.rkt's 
> default-zoneinfo-search-path, it works.
> 
> However, I didn't notice a $TZDIR-like mechanism to do so 
> ‘properly’.
> 
> Kind regards,
> 
> T G-R



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Racket (require gregor)
  2020-12-11 12:19   ` Yasuaki Kudo
@ 2020-12-11 14:24     ` Tobias Geerinckx-Rice
  2020-12-12  8:52       ` yasu
  0 siblings, 1 reply; 10+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-12-11 14:24 UTC (permalink / raw)
  To: Yasuaki Kudo; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

Hi Yasu,

Yasuaki Kudo 写道:
> Damn HTML doesn't work😅

Yes.  Please don't send HTML e-mail to mailing lists: most people 
don't like receiving it (e.g., sending me HTML mail is guaranteed 
to land you in my Spam bin) & you never know how your mail will 
appear to others.

> (Resending, my html email keeps failing... Is this mailing list
> automatically converting HTML messages to Plain Text or 
> something??)

Yes.  We have enabled both ‘convert text/html parts to plain text’ 
and ‘collapse multipart/alternative to its first part content’.

> If there are users of
> Racket..., would you please try the same and see if it works for 
> you?

I get the same error, with the tzdata Racket (and Guix, just in 
case) package install.

If I manually add $(guix build tzdata)/share/zoneinfo to
pkgs/tzinfo/tzinfo/private/zoneinfo.rkt's 
default-zoneinfo-search-path, it works.

However, I didn't notice a $TZDIR-like mechanism to do so 
‘properly’.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Racket (require gregor)
  2020-12-11 12:15 ` yasu
@ 2020-12-11 12:19   ` Yasuaki Kudo
  2020-12-11 14:24     ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 10+ messages in thread
From: Yasuaki Kudo @ 2020-12-11 12:19 UTC (permalink / raw)
  To: help-guix

Damn HTML doesn't work😅

My program is:

#lang racket
(require gregor)


> On Dec 11, 2020, at 21:16, yasu <yasu@yasuaki.com> wrote:
> 
> (Resending, my html email keeps failing... Is this mailing list
> automatically converting HTML messages to Plain Text or something??)
> 
> 
> 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
> 
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Racket (require gregor)
  2020-12-11 12:12 yasu
@ 2020-12-11 12:15 ` yasu
  2020-12-11 12:19   ` Yasuaki Kudo
  2020-12-19 22:05 ` Bonface M. K.
  1 sibling, 1 reply; 10+ messages in thread
From: yasu @ 2020-12-11 12:15 UTC (permalink / raw)
  To: help-guix

(Resending, my html email keeps failing... Is this mailing list
automatically converting HTML messages to Plain Text or something??)


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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Racket (require gregor)
@ 2020-12-11 12:12 yasu
  2020-12-11 12:15 ` yasu
  2020-12-19 22:05 ` Bonface M. K.
  0 siblings, 2 replies; 10+ messages in thread
From: yasu @ 2020-12-11 12:12 UTC (permalink / raw)
  To: help-guix


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-12-19 22:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.69.1607792450.6761.help-guix@gnu.org>
2020-12-12 18:03 ` Racket (require gregor) jgart
2020-12-15 21:03   ` Yasuaki Kudo
2020-12-19 22:01     ` Bonface M. K.
2020-12-19 21:59   ` Bonface M. K.
2020-12-11 12:12 yasu
2020-12-11 12:15 ` yasu
2020-12-11 12:19   ` Yasuaki Kudo
2020-12-11 14:24     ` Tobias Geerinckx-Rice
2020-12-12  8:52       ` yasu
2020-12-19 22:05 ` Bonface M. K.

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git