2

Hello everyone,

How do you guys handle programming in languages that want to package imports "their" way? I'm mainly referring to things like Python, Golang, or Rust. I'm in the middle of a small Golang project and need to import a uuid library that guix doesn't package on it's own. I could make the package which isn't difficult but that leads me down the tension between "Go project is more portable if I use go get ..." vs "Project is more reproducible if I use Guix".

How do you all do it?

you are viewing a single comment's thread
view the rest of the comments
[-] vepr_jako_pepr@slrpnk.net 1 points 1 day ago

i wouldnt say they are impossible, unless you are specifically refering to doing everything by hand

[-] moonpiedumplings@programming.dev 2 points 10 hours ago* (last edited 10 hours ago)

Huh. I just checked and guix uncendors go. Very impressive.

It looks like they let you override cargo crate deps with different versipns but they haven't managed to compile without cargo or crates yet.

[-] vepr_jako_pepr@slrpnk.net 1 points 5 hours ago
[-] vepr_jako_pepr@slrpnk.net 1 points 5 hours ago

ah ok probably meant to write "unvendors"

[-] vepr_jako_pepr@slrpnk.net 1 points 1 day ago

for example i packaged "regreet" in my channel and all i had to do was use the auto-import tool and then add the c dependencies to the gtk stuff

[-] vepr_jako_pepr@slrpnk.net 1 points 1 day ago

but yes having it compile without cargo at all would be super swell

this post was submitted on 07 Jun 2026
2 points (100.0% liked)

Guix and GuixSD

225 readers
3 users here now

Community for all Guix and GuixSD users

founded 3 years ago
MODERATORS