[racket-users] Re: racket2nix: Failure to run raco setup

2018-02-27 Thread Claes Wallin
On Tuesday, February 27, 2018 at 6:13:43 PM UTC+8, Claes Wallin wrote: > If I try to `racket -l- some/file` or try to (require) it, it won't be > found, and racket will again complain "collection not found", even though > there is: > > 1. An entry for the collection in >

[racket-users] Re: racket2nix: Failure to run raco setup

2018-02-27 Thread Claes Wallin
On Sunday, February 25, 2018 at 1:03:08 PM UTC+8, Claes Wallin wrote: > I've worked around it by simply looking at ((get-info/full > "$package_path") 'collection), creating the appropriate .../collects > directories based on the value, and then after raco setup I prune all > empty

[racket-users] Re: racket2nix: Failure to run raco setup

2018-02-24 Thread Claes Wallin
On Thursday, February 22, 2018 at 2:14:53 PM UTC+8, Claes Wallin wrote: > > Here's where we are now with racket2nix: > > I'm able to install but not actually build drracket and all its > dependencies. I pull down the zip files, run raco install --no-setup, and > the files are all there in their

Re: [racket-users] Re: racket2nix

2018-02-20 Thread Claes Wallin
On Tuesday, February 20, 2018 at 4:40:38 AM UTC+8, cwebber wrote: > > This is great Claes, and as I said on IRC, I hope we can eventually > collaborate... as some others know I'm hoping to get more Racket > packages into Guix... which is like Nix, but written in Scheme! > But that work will

Re: [racket-users] Re: racket2nix

2018-02-19 Thread johnbclements
Test posting, please ignore, sorry On Monday, February 19, 2018 at 12:40:38 PM UTC-8, cwebber wrote: > > Claes Wallin writes: > > > On Sunday, February 11, 2018 at 9:43:34 PM UTC+8, stewart mackenzie > wrote: > >> > >> Hello, > >> > >> We're partially through the development of a

Re: [racket-users] Re: racket2nix

2018-02-19 Thread Christopher Lemmer Webber
Claes Wallin writes: > On Sunday, February 11, 2018 at 9:43:34 PM UTC+8, stewart mackenzie wrote: >> >> Hello, >> >> We're partially through the development of a nix{os} utility which >> transforms an info.rkt into a nix expression. >> >> https://github.com/clacke/racket2nix >> >> It'll be

[racket-users] Re: racket2nix

2018-02-19 Thread reilithion
I'm excited for this project! As a user of both Racket and NixOS, I've been hoping for something like this to come along for a while. I wish I had more time to devote to helping it succeed. I'll probably poke at it a little with a small side project and try to give feedback on using it. --

Re: [racket-users] Re: racket2nix

2018-02-16 Thread stewart mackenzie
Re opengl: I recall running into a similar problem, I eventually scrapped the opengl dependency but it might be possible to wrap the whole thing up in a makeWrapper then pass in the opengl executable path for non-nixos systems into it. The reason, I believe, is that opengl is packaged as a static

Re: [racket-users] Re: racket2nix

2018-02-14 Thread Claes Wallin
On Thursday, February 15, 2018 at 3:01:08 AM UTC+8, Anthony Carrico wrote: > > The Racket derivation needed to be > parameterized to find the opengl libs/drivers. I also remember that I > couldn't get this to work reliably on any OS except NixOS. Any opengl > program was going to have similar

Re: [racket-users] Re: racket2nix

2018-02-14 Thread Claes Wallin
On Thursday, February 15, 2018 at 3:16:24 AM UTC+8, Matthew Flatt wrote: > > At Wed, 14 Feb 2018 03:44:44 -0800 (PST), Claes Wallin wrote: > > > I've finally found that the way to customize where racket finds things > is > > to mess about with `racket -G` and the config.rktd file. I was

Re: [racket-users] Re: racket2nix

2018-02-14 Thread Matthew Flatt
At Wed, 14 Feb 2018 03:44:44 -0800 (PST), Claes Wallin wrote: > 1. The package I'm currently building probably needs to be the installation > path for racket, so that I can use installation scope and have links.rktd > and other things end up in the expected places. That sounds right. > 2. As

Re: [racket-users] Re: racket2nix

2018-02-14 Thread Anthony Carrico
I use Nix, but mostly for Haskell currently, rather than Racket. I did prototype a nix project with Racket. I don't have the sources at my fingertips. I'll report if I look back and see anything helpful for you. It looks like you are trying to tie into the Racket package system. We didn't try to

[racket-users] Re: racket2nix

2018-02-14 Thread Claes Wallin
On Sunday, February 11, 2018 at 9:43:34 PM UTC+8, stewart mackenzie wrote: > > Hello, > > We're partially through the development of a nix{os} utility which > transforms an info.rkt into a nix expression. > > https://github.com/clacke/racket2nix > > It'll be helpful if other nixers/racketers