!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

648 Members
Rust151 Servers

Load older messages


SenderMessageTime
14 Aug 2025
@tomasajt:matrix.orgToma* this PR is more important, but every change in the fetcher is one more unnecessary caching of the deps (though things are recached every staging cycle anyways)15:04:41
@tomasajt:matrix.orgToma* this PR is more important, but every change in the fetcher is one more unnecessary caching of the deps (though things are recached every staging cycle anyways (usually))15:05:02
@tomasajt:matrix.orgTomaI am open to suggestions on how exectaly the breaking change should be done: e.g. the naming of the newly introduced subdirectories15:07:09
@emilazy:matrix.orgemilyoh I'm just checking we're not changing FOD hashes15:07:24
@emilazy:matrix.orgemilyyou know how I am about that :P15:07:25
@tomasajt:matrix.orgTomayea we ain't gonna change that for a while15:07:41
@emilazy:matrix.orgemily yes, staging-next means the timing is irrelevant IMO 15:07:42
@jh-devv:matrix.org@jh-devv:matrix.org left the room.15:13:31
@tumypmyp:matrix.orgTimur Gainullin joined the room.19:18:16
15 Aug 2025
@alto:private.coffeealto (they/them) joined the room.13:34:14
@samw:fairydust.spacesamw set a profile picture.14:08:15
17 Aug 2025
@nickorta12:matrix.org@nickorta12:matrix.org left the room.02:53:04
@jennydaman:fedora.imJennings Zhang joined the room.19:16:56
18 Aug 2025
@tengkuizdihar:matrix.orgIzdihar changed their display name from FPS DEV GUY (izdihar) to tengkuizdihar.13:42:51
19 Aug 2025
@emilazy:matrix.orgemilyoh no, the Bazel FOD fetcher not only uses Cargo for fetches, it also RUNS CARGO BUILDS.18:02:50
@bonemind:mtrx.i.xtyx.nlbonemind ⚡️ joined the room.18:39:48
@bonemind:mtrx.i.xtyx.nlbonemind ⚡️ left the room.18:41:32
@glepage:matrix.orgGaétan Lepage

The latest release of tinymist fails to build. More precisely, the hayro-interpret crate

   Compiling hayro-interpret v0.1.0 (https://github.com/LaurenzV/hayro?rev=e701f95#e701f956)
error: couldn't read `/build/tinymist-0.13.25-vendor/hayro-interpret-0.1.0/src/../../assets/CGATS001Compat-v2-micro.icc`: No such file or directory (os error 2)
   --> /build/tinymist-0.13.25-vendor/hayro-interpret-0.1.0/src/color.rs:837:9
    |
837 |         include_bytes!("../../assets/CGATS001Compat-v2-micro.icc"),
    |

The assets folder is not present in the cargoDeps output:

gaetan in 🌐 cuda in nixpkgs on  update/tinymist
❯ nix-build -A tinymist.cargoDeps
/nix/store/5w2m8hnv76q2cay69i2ifgzgn8wngr6p-tinymist-0.13.25-vendor

gaetan in 🌐 cuda in nixpkgs on  update/tinymist
❯ ls -al result/hayro-interpret-0.1.0/
.r--r--r--  13 root  1 Jan  1970 .cargo-checksum.json
.r--r--r-- 626 root  1 Jan  1970 Cargo.toml
.r--r--r-- 673 root  1 Jan  1970 README.md
dr-xr-xr-x   - root  1 Jan  1970 src
19:15:06
@glepage:matrix.orgGaétan Lepage Is fetchCargoVendor pruning non-.rs files? 19:15:24
@dramforever:matrix.orgdramforever
In reply to @glepage:matrix.org

The latest release of tinymist fails to build. More precisely, the hayro-interpret crate

   Compiling hayro-interpret v0.1.0 (https://github.com/LaurenzV/hayro?rev=e701f95#e701f956)
error: couldn't read `/build/tinymist-0.13.25-vendor/hayro-interpret-0.1.0/src/../../assets/CGATS001Compat-v2-micro.icc`: No such file or directory (os error 2)
   --> /build/tinymist-0.13.25-vendor/hayro-interpret-0.1.0/src/color.rs:837:9
    |
837 |         include_bytes!("../../assets/CGATS001Compat-v2-micro.icc"),
    |

The assets folder is not present in the cargoDeps output:

gaetan in 🌐 cuda in nixpkgs on  update/tinymist
❯ nix-build -A tinymist.cargoDeps
/nix/store/5w2m8hnv76q2cay69i2ifgzgn8wngr6p-tinymist-0.13.25-vendor

gaetan in 🌐 cuda in nixpkgs on  update/tinymist
❯ ls -al result/hayro-interpret-0.1.0/
.r--r--r--  13 root  1 Jan  1970 .cargo-checksum.json
.r--r--r-- 626 root  1 Jan  1970 Cargo.toml
.r--r--r-- 673 root  1 Jan  1970 README.md
dr-xr-xr-x   - root  1 Jan  1970 src
the hayro-interpret package uploaded to crates.io does not have the assets directory
20:21:34
@dramforever:matrix.orgdramforeveruh20:22:48
@dramforever:matrix.orgdramforeversorry20:22:49
@glepage:matrix.orgGaétan Lepage Ok, so we'll need to fetchurl them and patch the crate I guess 20:22:50
@dramforever:matrix.orgdramforeveri missed it, it does seem to have that directoey20:23:18
@dramforever:matrix.orgdramforever but it should be ../asset right? not ../../assets 20:24:32
@glepage:matrix.orgGaétan Lepage Yes, I have seen that. But the assets is still missing from ${tinymist.cargoDeps}/hayro-interpret-0.1.0/... 20:25:34
@dramforever:matrix.orgdramforeverokay this is weird20:26:49
@dramforever:matrix.orgdramforevercheck this out https://github.com/LaurenzV/hayro/commit/1faaa0568915c3afb623a887a36446a6960a778020:26:55
@dramforever:matrix.orgdramforevera version bump from 0.1.0 to 0.1.020:27:04
@glepage:matrix.orgGaétan LepageIntereseting X)20:27:34

Show newer messages


Back to Room ListRoom Version: 6