News for hackers. Stuff that matters.
Re:Rust Without Crates.io by bfrog on Tuesday November 14, 2023 @10:05PM (#38272831)
Rpm assumes deps and toolchain and doesn’t prevent accidental dependencies last I used it, admittedly many years ago. Are builds somehow done in a limited chroot now? Is the toolchain version dependency tracked and managed?
Re:Rust Without Crates.io by oneshtein on Wednesday November 15, 2023 @01:38AM (#38273952)
In Fedora, mock[0] is used to build packages in clean chroot for multiple of distros. In SuSE, Open Build Service[1] i used.

[0]: https://fedoraproject.org/wiki/Using_Mock_to_test_package_bu...

[1]: https://en.opensuse.org/openSUSE:Build_Service_Tutorial

Re:Rust Without Crates.io by bfrog on Wednesday November 15, 2023 @08:15AM (#38276292)
What about the toolchain being used, is that some how understood to be part of the result? This seems to be often overlooked. In nix the toolchain is considered an input I believe and taken into the output derivations hash. Meaning a toolchain change results in a new package (rightfully so!)

What if you need different versions of the same package to support end applications?