!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

639 Members
Rust146 Servers

Load older messages


SenderMessageTime
29 Aug 2025
@quadradical:federated.nexusQuadRadical (Ping) Is fenix still the best way to get extra components, e.g. llvm-tools-preview? 01:53:12
@quadradical:federated.nexusQuadRadical (Ping)It seems rather unmaintained.01:53:16
@quadradical:federated.nexusQuadRadical (Ping) My current issue is I can't get the binary cache to cache inputs.fenix.packages.${system}.complete.toolchain 01:54:37
@quadradical:federated.nexusQuadRadical (Ping) My current issue is I can't get the binary cache to cache inputs.fenix.packages.${system}.complete.toolchain, it's always building from source. 01:56:57
@charles:computer.surgeryCharlesAre you setting follows on anything on your fenix input? Because if so that's your problem02:07:29
@quadradical:federated.nexusQuadRadical (Ping) No, just regular input. 02:15:17
@quadradical:federated.nexusQuadRadical (Ping) fenix.url = "github:nix-community/fenix"; 02:15:24
@charles:computer.surgeryCharlesIdk then. You could try oxalica/rust-overlay if you want an alternative02:17:44
@quadradical:federated.nexusQuadRadical (Ping) rust-overlay seems even worse maintained tbh 02:18:24
@quadradical:federated.nexusQuadRadical (Ping) i think i can actually maybe use nixpkgs cargo and install llvm seperately 02:18:35
@quadradical:federated.nexusQuadRadical (Ping) and set LLVM_COV=$(which llvm-cov) LLVM_PROFDATA=$(which llvm-profdata) 02:18:42
@quadradical:federated.nexusQuadRadical (Ping)trying rn02:18:42
@luna-null:matrix.org@luna-null:matrix.org left the room.02:40:11
@bienkma:matrix.orgbienkma joined the room.04:19:35
@dontblameme:matrix.orgDontBlameMe changed their profile picture.10:01:38
@charles:computer.surgeryCharles changed their profile picture.19:12:23
30 Aug 2025
@522_:catgirl.cloud@522_:catgirl.cloud changed their display name from 522 [it/its][ΘΔ] to 522 it/its ⛯ΘΔ.14:10:10
31 Aug 2025
@magicpotatobean:matrix.org@magicpotatobean:matrix.org left the room.02:26:58
1 Sep 2025
@robert:scs.ems.hostRobert Rose changed their display name from Robert Rose (🏝️ 25.08 - 29.08) to Robert Rose.07:54:03
@yusufraji49:matrix.orgYusuf Raji joined the room.11:00:20
@hexa:lossy.networkhexathe servo build for mozjs_sys fails because it tries to inspect the cargo metadata for the workspace23:05:03
@hexa:lossy.networkhexa

called Result::unwrap() on an Err value: CargoMetadata { stderr: "error: failed to get encoding_c as a dependency of package mozjs_sys v0.140.0-1 (/build/servo-0-unstable-2025-09-01-vendor/mozjs_sys-0.140.0-1)\n\nCaused by:\n failed to load source for dependency encoding_c\n\nCaused by:\n Unable to update registry crates-io\n\nCaused by:\n failed to update replaced source registry crates-io\n\nCaused by:\n failed to read root of directory source: /build/servo-0-unstable-2025-09-01-vendor/@vendor@\n\nCaused by:\n No such file or directory (os error 2)\n" }

23:05:21
@hexa:lossy.networkhexahttps://github.com/servo/mozjs/blob/main/mozjs-sys/build.rs#L13023:05:36
@hexa:lossy.networkhexathe reason is this snippet we ship in .cargo/config.toml of the vendor data23:06:10
@hexa:lossy.networkhexa
❯ cat ./b/servo-0-unstable-2025-09-01-vendor/.cargo/config.toml
[source.vendored-sources]
directory = "@vendor@"
[source.crates-io]
replace-with = "vendored-sources"
23:06:13
@hexa:lossy.networkhexa *
❯ cat ./b/servo-0-unstable-2025-09-01-vendor/.cargo/config.toml
[source.vendored-sources]
directory = "@vendor@"
[source.crates-io]
replace-with = "vendored-sources"
[...]
23:06:21
@hexa:lossy.networkhexai currently only pass cargoHash, so I'm wondering how to patch that23:14:13
@hexa:lossy.networkhexaanyway, this seems to origin in23:14:43
@hexa:lossy.networkhexa
❯ cat pkgs/build-support/rust/fetchcargo-default-config.toml
[source."crates-io"]
"replace-with" = "vendored-sources"

[source."vendored-sources"]
"directory" = "@vendor@"
23:14:47
@hexa:lossy.networkhexa* anyway, this seems to originate in23:20:48

Show newer messages


Back to Room ListRoom Version: 6