Nix Rust | 673 Members | |
| Rust | 153 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 Sep 2025 | ||
| 11:00:20 | ||
| the servo build for mozjs_sys fails because it tries to inspect the cargo metadata for the workspace | 23:05:03 | |
| 23:05:21 | |
| https://github.com/servo/mozjs/blob/main/mozjs-sys/build.rs#L130 | 23:05:36 | |
| the reason is this snippet we ship in .cargo/config.toml of the vendor data | 23:06:10 | |
| 23:06:13 | |
*
| 23:06:21 | |
| i currently only pass cargoHash, so I'm wondering how to patch that | 23:14:13 | |
| anyway, this seems to origin in | 23:14:43 | |
| 23:14:47 | |
| * anyway, this seems to originate in | 23:20:48 | |
| 2 Sep 2025 | ||
| or rather in fetch-cargo-vendor-util.py | 01:16:14 | |
| * or rather in fetch-cargo-vendor-util.py:267 | 01:16:17 | |
| cc Toma | 01:16:34 | |
| so when is that supposed to be replaced? | 01:19:05 | |
| 01:24:39 | |
| wow, that symlink to ./@vendor@ is something | 01:25:13 | |
In reply to @hexa:lossy.network Where is this logic? (can't use github search rn) @vendor@ that is inside pkg.cargoDeps is replaced with an actual name in cargoSetupHook's postUnpack part | 04:55:57 | |
| But it is only replaced in the real /build/.cargo/config.toml, but not the original /build/.cargo/foo-vendor/.cargo/config.toml | 05:04:43 | |
| * But it is only replaced in the real /build/.cargo/config.toml, but not the original /build/.cargo/foo-vendor/.cargo/config.toml (aka. $cargoDepsCopy/.cargo/config.toml) | 05:17:07 | |
that is in pkgs/by-name/af/affine/package.nix | 11:06:18 | |
| ok, but for some reason the cargo metadata call that mozjs_sys is doing chokes on the leftover @vendor@ | 11:07:31 | |
| 13:01:40 | ||
| ? failed to read root of directory source: /build/servo-0-unstable-2025-09-01-vendor/@vendor@ | 19:17:32 | |
*
| 19:17:33 | |
| Toma: I mean … it clearly states that is looking in what I assume to be $cargoDeps | 19:18:06 | |
| do you have an idea how we can get that resolved? | 19:18:29 | |
| 21:54:17 | ||
| * ok, but for some reason the cargo metadata call that mozjs_sys is running chokes on the leftover @vendor@ | 22:29:36 | |
| 3 Sep 2025 | ||
| 07:54:42 | ||