paddymahoney has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 265 seconds]
badkins has joined #racket
TCZ has quit [Quit: Dowidzenia]
DGASAU has quit [Ping timeout: 260 seconds]
tetrodot has joined #racket
badkins has quit [Remote host closed the connection]
DGASAU has joined #racket
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #racket
fredmanglis has joined #racket
orivej has quit [Ping timeout: 240 seconds]
aeth_ has joined #racket
aeth has quit [Ping timeout: 260 seconds]
aeth_ is now known as aeth
trcm has joined #racket
orivej has joined #racket
bitmapper has quit [Quit: Connection closed for inactivity]
caente has quit [Ping timeout: 265 seconds]
paddymahoney has joined #racket
paddymahoney has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.9]
paddymahoney has joined #racket
narimiran has joined #racket
paddymahoney has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
Sgeo has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 240 seconds]
brj has quit [Ping timeout: 240 seconds]
brj has joined #racket
rgherdt has joined #racket
Codaraxis has joined #racket
Codaraxis_ has quit [Ping timeout: 265 seconds]
brj has quit [Ping timeout: 260 seconds]
brj has joined #racket
vv8 has quit [Remote host closed the connection]
nullcone has quit [Quit: Connection closed for inactivity]
clacke has quit [Ping timeout: 248 seconds]
yurb has quit [Ping timeout: 248 seconds]
fredmanglis has quit [Read error: Connection reset by peer]
fredmanglis has joined #racket
clacke has joined #racket
Major_Biscuit has joined #racket
yurb has joined #racket
badkins has joined #racket
fredmanglis has quit [Ping timeout: 260 seconds]
fredmanglis has joined #racket
badkins has quit [Ping timeout: 260 seconds]
paddymahoney has joined #racket
EffBezos has joined #racket
<yurb>
What's the approach to making a racket package that is a program that should be on your $PATH? `raco exe` does bundle racket and all the dependencies with (afaict); I'm interested more in something like making "main.rkt" executable and on $PATH.
EffBezos has quit [Quit: Connection closed]
<bremner>
good question. The only relevant case I know is "frog", where it adds a raco subcommand.
<yurb>
bremner: I see some other packages doing the same (`north`, `koyo` for instance). I guess a shell script wrapper (nix-style) is an option.
<yurb>
just tested that racket programs work with shebangs, thus can be made executable
<bremner>
byte compilation / whatever-chez-does might be an issue
<yurb>
bremner: yeah, but that's similar to other langs like Python or Emacs lisp; distributions have approaches to that I guess
<yurb>
I'm on NixOS where most stuff is read-only
<yurb>
Though I'm using `raco` to manage racket packages in my home directory
vv8 has joined #racket
aeth has quit [Ping timeout: 240 seconds]
aeth has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
m1dnight_ has quit [Quit: WeeChat 2.4]
m1dnight_ has joined #racket
<clacke>
∿ und̷e̷l̷ě̷t̷e̷d̷: racket-launcher-names in your info.rkt
<clacke>
it needs a lot more polish and I haven't touched it in two years
<clacke>
but it likely manages to package your racket project ... if you can live with using a historical racket and package catalog
<clacke>
any year now I'll get it into nixpkgs proper so that it's kept up-to-date
<clacke>
I should document the blockers forbthat
<clacke>
it does some forbidden things
<clacke>
and has ugly workarounds that should be fixed in Racket itself
<clacke>
I'm glad my sneaky reference worked, haha
aidalgol has quit [Ping timeout: 265 seconds]
aidalgol_ has joined #racket
<jA_cOp>
Certainly would be nice to have it in nixpkgs! I hope you get around to it. I'll have to keep the project in mind and try it out when I get the chance
orivej has quit [Ping timeout: 240 seconds]
aeth has quit [Ping timeout: 248 seconds]
aeth has joined #racket
nebunez has joined #racket
<clacke>
thank you for the encouragement!
<clacke>
jA_cOp: are you on the fediverse
acarrico has joined #racket
phillbush has joined #racket
<jA_cOp>
clacke: sorry, no :( just on Matrix
badkins has joined #racket
<yurb>
clacke: I believe there were some discussions around packaging racket in guix as well, perhaps the fixes in racket could benefit both guix and nix
<yurb>
<clacke "but it likely manages to package"> historical in which sense?
brj has quit [Ping timeout: 265 seconds]
Sgeo has joined #racket
brj has joined #racket
<clacke>
racket2nix as used in the README uses its own racket and will thus run your code with a Racket from 2019 and the package catalog from then.
<clacke>
You can make it do what you want, of course, and running the update scripts *should* bring you to today, but no guarantees. And the update scripts need to download every package in the catalog, so they take a while to run and you may want the nix gc on a loop while doing it.
<clacke>
Chris's post covers about everything I have to say on Racket packaging. I recently (last year) rewrote the circular dependency resolver in Nix rather than Racket, which has cool immediate consequences and also opens up for further improvements, but I didn't merge that yet.
aeth_ has joined #racket
<clacke>
I'm the Claes mentioned, Chris and I know each other somewhat and discussed a lot when he was hoping to get this done in Racket
* dutchie
notes that dustyweb is also in this channel
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
<dutchie>
and is also responsible for me taking another look at racket recently :)
<dutchie>
i'm also a nixos user, and would be awesome to see it nicely packaged up and buildable
Codaraxis_ has joined #racket
<dustyweb>
hi dutchie !
<dustyweb>
oh nice, guix and racket convo :)
<jA_cOp>
I've been meaning to try Guix soon as well, I've been lazily waiting for the effort to package it in Void Linux to complete :)
Codaraxis has quit [Ping timeout: 265 seconds]
aeth_ has joined #racket
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
<clacke>
You know what, after fixing two small bugs in bump-all.sh, it Just Worked. Making PRs for fixes.
<SrPx>
Since Racker v8 uses ChezScheme by default, does that mean a Racket program will perform the same as an identical Scheme program running directly on Chez, or will Racket change it somehow and we'll get two different performances?
<clacke>
the graph-lib dep and transdeps have grown humungus, I have to finish that cycle-resolution-in-nix branch