[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

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

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-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

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

2018-02-21 Thread Claes Wallin
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 respective share/racket/pkgs, and share/racket/links.rktd is updated. Awesome!

Re: [racket-users] #lang rust

2018-02-22 Thread Claes Wallin
On Wednesday, February 21, 2018 at 11:20:23 PM UTC+8, stewart mackenzie wrote: > > On Wed, 21 Feb 2018, 14:44 Hendrik Boom, > wrote: > >> The interesting parrt would the integrating of Rust's garbage >> collector (yes, it has a concept of garbage collection for data

[racket-users] Re: Building full racket 6.10 and up fails on Nix/MacOS

2018-02-22 Thread Claes Wallin
On Friday, February 23, 2018 at 11:57:55 AM UTC+8, Claes Wallin wrote: > > On Friday, February 23, 2018 at 11:55:17 AM UTC+8, Claes Wallin wrote: >> >> I'm currently testing whether 6.9 still builds and if it doesn't, I'll >> git bisect through nixpkgs to see what

[racket-users] Re: Building full racket 6.10 and up fails on Nix/MacOS

2018-02-22 Thread Claes Wallin
On Friday, February 23, 2018 at 11:55:17 AM UTC+8, Claes Wallin wrote: > > I'm currently testing whether 6.9 still builds and if it doesn't, I'll git > bisect through nixpkgs to see what broke it. So let's hope it breaks. :-) > Nope, 6.9 worked. So it's not as simple as something I

[racket-users] Building full racket 6.10 and up fails on Nix/MacOS

2018-02-22 Thread Claes Wallin
I have got racket-minimal 6.12 into Nix, and it builds properly on aarch64-linux and on x86_64-darwin (MacOS). AArch64 probably hasn't had a racket before (I haven't checked), and Nix/MacOS has been without a working racket since it was bumped to 6.10 last August (which broke it because 6.10

Re: [racket-users] Building full racket 6.10 and up fails on Nix/MacOS

2018-02-23 Thread Claes Wallin
On Friday, February 23, 2018 at 8:50:22 PM UTC+8, Claes Wallin wrote: > > On Friday, February 23, 2018 at 8:37:17 PM UTC+8, Matthew Flatt wrote: >> >> >> (define convert (bytes-open-converter "UTF-8" "UTF-16")) >> (bytes-convert convert (bytes

Re: [racket-users] Building full racket 6.10 and up fails on Nix/MacOS

2018-02-23 Thread Claes Wallin
On Friday, February 23, 2018 at 8:37:17 PM UTC+8, Matthew Flatt wrote: > > At Thu, 22 Feb 2018 19:55:17 -0800 (PST), Claes Wallin wrote: > raco setup: --- summary of errors --- > > raco setup: error: during building docs for > > /racket-doc/scribblings/reference/refe

Re: [racket-users] Building full racket 6.10 and up fails on Nix/MacOS

2018-02-23 Thread Claes Wallin
On Friday, February 23, 2018 at 9:52:40 PM UTC+8, Claes Wallin wrote: > > On Friday, February 23, 2018 at 8:50:22 PM UTC+8, Claes Wallin wrote: >> >> On Friday, February 23, 2018 at 8:37:17 PM UTC+8, Matthew Flatt wrote: >>> >>> >>> (define

[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 >

[racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Claes Wallin
In my experiments to build nix derivations of racket packages, I'm now trying to build racket-doc and all its dependencies in one big bunch, kind of what the full racket build does. I'm getting this: > interface-essentials.scrbl: could not find "Modern" style That's in

Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Claes Wallin
erent and then > maybe we can help more? > > Robby > > > > On Tue, Mar 13, 2018 at 6:27 AM, Claes Wallin <cla...@gmail.com > > wrote: > > In my experiments to build nix derivations of racket packages, I'm now > > trying to build racket-doc and all

Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Claes Wallin
It worked! Thanks for pointing me in the right direction, Robby! -- /c On Tuesday, March 13, 2018 at 9:39:42 PM UTC+8, Claes Wallin wrote: > > Looks like the clue is that (find-relevant-directories (list key) > 'all-available) bit, where key is 'framework:color-schemes. On my &g

[racket-users] racket2nix status report

2018-03-07 Thread Claes Wallin
Progress! It's still full of workarounds and doesn't do everything I'd like it to, but it does package and run itself successfully! Maybe I will call it 0.1 some time this month and put it into the racket package space, but for now you can try it out by simply cloning

[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 co

[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