!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

711 Members
Rust161 Servers

Load older messages


SenderMessageTime
25 Mar 2025
@emilazy:matrix.orgemilywe can just bump to HEAD13:17:56
@k900:0upti.meK900Yeah that's what I'm saying13:18:08
@emilazy:matrix.orgemilyI really do not think we want to ship a tool using pinned Kubernetes dependencies from 2019. https://github.com/saschagrunert/kubernix#what-is-inside13:18:36
@emilazy:matrix.orgemilylike even if this does still function with current Nixpkgs which I am somewhat sceptical about, it's plain dangerous13:18:55
@emilazy:matrix.orgemilyhttps://github.com/saschagrunert/kubernix/issues/1204 declared unmaintained upstream13:19:19
@emilazy:matrix.orgemilyrelease version is apparently broken: https://github.com/saschagrunert/kubernix/issues/72013:20:01
@tomasajt:matrix.orgTomahttps://github.com/NixOS/nixpkgs/pull/393078 https://github.com/NixOS/nixpkgs/pull/39307113:39:59
@emilazy:matrix.orgemilyhttps://mdsteele.games/syzygy/ wow, Rust game from 2016, very early!13:43:13
@emilazy:matrix.orgemilyhttps://github.com/yxdunc/lipl/commit/f57e702e6d4789cb0c16521d45a8ae2c4787213d uh, hm13:45:33
@emilazy:matrix.orgemilyok, apparently this quotes in the "sane" way13:46:15
@emilazy:matrix.orgemily did we settle on a plan for useFetchCargoVendor? IMO the best route would be to make it default to true, to give an eval error on false, and to detect a fetchCargoTarball FOD in the build and reject it with a migration explanation 13:47:31
@emilazy:matrix.orgemilysince all the FODs are broken by Rust 1.85, no existing user from 24.11 is correct/safe anyway13:48:00
@emilazy:matrix.orgemilyso we should ensure that people with cached versions of them in their store aren't "tricked" into thinking their package hasn't broken13:48:14
@emilazy:matrix.orgemily also, it would be really annoying to ship with a state where you have to manually set it true for every Rust package 13:48:33
@tomasajt:matrix.orgTomayes, for sure, remove it after the branchoff but what about 25.05, I guess we will still need to have that?13:49:42
@emilazy:matrix.orgemilyno I meant before the branch-off13:50:13
@emilazy:matrix.orgemily25.05 is what is going to break everyone13:50:20
@tomasajt:matrix.orgTomahmm I see13:50:28
@emilazy:matrix.orgemilypeople will have existing FOD hashes, they'll build their package again, and it will "work" because it's in the cache13:50:29
@emilazy:matrix.orgemilybut it will not reproduce13:50:32
@emilazy:matrix.orgemily having the broken thing be the default is silly, so we should default useFetchCargoVendor to true. but then we do need code to detect the old FOD format so we can reject it 13:50:49
@tomasajt:matrix.orgTomait will not fetch from the cache because the name is different13:50:56
@emilazy:matrix.orgemily as in, defaulting useFetchCargoVendor = true would invalidate the cache even with the same hashes? right, makes sense 13:51:19
@emilazy:matrix.orgemilycould we do anything to detect old hashes?13:51:42
@emilazy:matrix.orgemilyI guess probably not. so maybe it is okay for them to just fail with a mismatch13:51:57
@tomasajt:matrix.orgTomayea13:52:07
@emilazy:matrix.orgemilyI was hoping we could print out a more useful message so people don't just go "why is my hash invalidated??" but I guess people are somewhat used to hashes changing anyway :P13:52:31
@tomasajt:matrix.orgTomais the breaking rust version backported btw?13:52:43
@emilazy:matrix.orgemily ok, then I guess we can just do useFetchCargoVendor ? true, assert lib.assertMsg useFetchCargoVendor "buildRustPackage: useFetchCargoVendor is now the only option" 13:53:14
@emilazy:matrix.orgemily we never backport Rust versions as rustc 13:53:28

Show newer messages


Back to Room ListRoom Version: 6