Sender | Message | Time |
---|---|---|
16 Nov 2024 | ||
Redacted or Malformed Event | 05:11:49 | |
wait nvm https://github.com/NixOS/nixpkgs/pull/349360#issuecomment-2472038810 | 05:12:13 | |
Still have https://github.com/NixOS/nixpkgs/pull/356415, but fetchCargoVendor should be good to go after that. | 09:42:06 | |
17:06:04 | ||
17:37:20 | ||
18:23:08 | ||
17 Nov 2024 | ||
02:27:49 | ||
15:24:46 | ||
17:39:25 | ||
18 Nov 2024 | ||
08:03:11 | ||
The new fetchCargoVendor fetcher is great !I am currently bringing the support for it in nixpkgs-update .However, I realized that <package>.cargoDeps has no outputHash attribute. I am not sure whether it was not included in purpose. | 12:32:27 | |
It also helps greatly with sandboxed builds on macOS, thanks to reducing the number of store paths | 12:46:22 | |
Toma have I missed something ? | 12:51:32 | |
In reply to @glepage:matrix.orgThe actual fod is cargoDeps.vendorStaging | 12:56:09 | |
Ok thanks ! | 12:57:01 | |
15:08:45 | ||
16:10:09 | ||
I'm getting a different binary size with nix develop + cargo build --release vs nix build :
The package in question is https://codeberg.org/undltd/om/ What could be the reason? | 16:15:57 | |
fixupPhase doing strip or something maybe | 16:18:22 | |
In reply to@emilazy:matrix.orgI have strip enabled in Cargo.toml, and the nix build version is bigger instead of the other way around. Is there a way I could see a full log of what commands are run during nix build ? | 16:19:34 | |
set e.g. env.NIX_DEBUG = 7; for maximum verbosity | 16:19:56 | |
(tune value to taste) | 16:19:58 | |
19 Nov 2024 | ||
In reply to @glepage:matrix.orgI'm reviewing a package that is implementing that fetcher and seeing weird results... https://github.com/NixOS/nixpkgs/pull/356353 | 03:21:55 | |
author sees one vendor hash and I see another | 03:22:04 | |
In reply to@khaneliman:matrix.orgMaybe one of the dependencies had submodules inside and your run had this included: https://github.com/NixOS/nixpkgs/pull/356415 but previous nixpkgs-review they had ~3 days ago did not have it, so it succeeded with previous hash. | 04:52:35 | |
Maybe one of the dependencies had submodules inside and your run had this included: https://github.com/NixOS/nixpkgs/pull/356415 but previous nixpkgs-review they run ~3 days ago did not have it, so it succeeded with previous hash. | 04:53:06 | |
In reply to @9hp71n:matrix.orgThat makes sense, thank you! | 04:53:24 | |
05:00:13 | ||
i use rust without rustup on nixos. (i just have cargo, rustc etc... in my shell.nix ) Is there a way to have miri in that case? | 05:02:24 | |
Iirc it is only included in nightly toolchains even in rustup, so you need either of the 2 overlays with nightly: https://github.com/nix-community/fenix https://github.com/oxalica/rust-overlay | 05:15:19 |