Email or username:

Password:

Forgot your password?
Andrew Tropin

Generated 69 guix package definitions from mix.lock. Spend the whole day (more than 10 hours) to make them successfully build.

Programming is cursed, I'm exhausted.

#elixir #erlang #guix #nix

8 comments
lenny_

@abcdw but now they will build for posterity \o/

Andrew Tropin

@sharlatan Nope.

Also, I'm in doubt how benificial is to package language-specific deps in Guix channel.

I think it's better to cooperate with language package manager devs and make lock-file->guix-package-with-deps API, which will work flawlessly.

Sharlatan

@abcdw In my case of astronomical packages most of them comes with C bindings which
make sense to reproduce ;-)

Andrew Tropin

@sharlatan I don't say it doesn't make sense to reproduce, I just say that 1. it should be easier to generate guix packages from lock files. 2. better not to polute already beefy guix repo with packages, which can be easily generated on demand from lock files.

Sharlatan

@abcdw It makes sense, if the packages do not require patching or like NixOs which has dedicated repository for packages.

Csepp 🌢

@abcdw @sharlatan Huge agree. I've been reluctant to update our Yggdrasil package because even with the import and refresh tooling it's a goddamn slog. And I wrote the original definition *before* we had a Go importer.
It's no surprise that so many Guix packages are outdated.

Go Up