!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

696 Members
Rust157 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
23 Jan 2025
@simon.brandner:envs.net@simon.brandner:envs.netHopefully, I didn't miss anything important20:43:33
@simon.brandner:envs.net@simon.brandner:envs.netLet me know, if I have20:44:01
@simon.brandner:envs.net@simon.brandner:envs.net I just added shell.nix 20:44:48
@simon.brandner:envs.net@simon.brandner:envs.netMissed that one20:44:52
@9hp71n:matrix.orgghpzin It still outputs things from rustup in GH runner even with what you currently have ?
(according to your prev messages)
20:50:31
@simon.brandner:envs.net@simon.brandner:envs.netimage.png
Download image.png
20:51:49
@simon.brandner:envs.net@simon.brandner:envs.netYes, it does. It turns out it's not installed by neither apt nor snap20:51:50
* @simon.brandner:envs.net@simon.brandner:envs.net will need to go to sleep in a moment, but I'll check back tomorrow20:58:49
@simon.brandner:envs.net@simon.brandner:envs.netThank you for your time!20:58:53
@simon.brandner:envs.net@simon.brandner:envs.net rustc and rustup seem to be located in /home/runner/.cargo/bin. Let's see what happens when I remove it forcefully 😅 20:59:57
@9hp71n:matrix.orgghpzin I think it's more of a nix/GHA question than rust.
I would probably just put fmt/clippy into one of the phases and not bother with nix develop inside runner.
21:01:11
@simon.brandner:envs.net@simon.brandner:envs.netWell that would mean losing the benefits of Nix wouldn't it?21:02:24
@simon.brandner:envs.net@simon.brandner:envs.netAs in I wouldn't get my deps21:02:40
@simon.brandner:envs.net@simon.brandner:envs.netNo improvement....21:02:57
@simon.brandner:envs.net@simon.brandner:envs.netAnyway, good night... 👋21:04:20
@9hp71n:matrix.orgghpzin I meant phases as in nix build phases, in your package.
Or in some way to push it inside flake check.
21:09:11
24 Jan 2025
@simon.brandner:envs.net@simon.brandner:envs.netOh, that's a good idea07:30:33
@simon.brandner:envs.net@simon.brandner:envs.netI was accidentally deleting only cargo, it looks like it works now...07:48:25
@simon.brandner:envs.net@simon.brandner:envs.net(The run in the CI hasn't finished yet but it did pass the bit where the problem always appeared)07:48:56
@simon.brandner:envs.net@simon.brandner:envs.netNot sure if this is a better solution than forcefully deleting files07:53:06
@simon.brandner:envs.net@simon.brandner:envs.netBoth feel like a bit of a hack07:53:11
@pnmadelaine:matrix.orgPaul-Nicolas Madelaine changed their profile picture.09:39:05
@tomasajt:matrix.orgToma I don't know if it has been posted already, but if you're wondering what exactly changed in the upstream cargo vendor implementation that broke the FOD hashes, it's the fact that .cargo-checksum now contains a checksum for Cargo.lock as well. 23:58:53
25 Jan 2025
@tomasajt:matrix.orgTomaMost likely this is the culprit: https://github.com/rust-lang/cargo/pull/1481500:17:57
@tomasajt:matrix.orgToma * I don't know if it has been posted already, but if you're wondering what exactly changed in the upstream cargo vendor implementation that broke the FOD hashes, it's the fact that some dependencies now also have Cargo.lock as part of their crate tree. 12:50:08

Show newer messages


Back to Room ListRoom Version: 6