!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

508 Members
Rust112 Servers

Load older messages


SenderMessageTime
16 Nov 2024
@phanirithvij:matrix.orgloudgolemRedacted or Malformed Event05:11:49
@phanirithvij:matrix.orgloudgolemwait nvm https://github.com/NixOS/nixpkgs/pull/349360#issuecomment-247203881005:12:13
@tomasajt:matrix.orgToma Still have https://github.com/NixOS/nixpkgs/pull/356415, but fetchCargoVendor should be good to go after that. 09:42:06
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️ removed their profile picture.17:06:04
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️ set a profile picture.17:37:20
@catalin:one.ems.hostViorel-Cătălin Răpițeanu changed their display name from @catalin:one.ems.host to Viorel-Cătălin Răpițeanu.18:23:08
17 Nov 2024
@orzklv:matrix.org@orzklv:matrix.org joined the room.02:27:49
@matto153:matrix.orgMatthias Meschede joined the room.15:24:46
@morj:morj.menMorj joined the room.17:39:25
18 Nov 2024
@aktaboot:tchncs.deaktaboot changed their profile picture.08:03:11
@glepage:matrix.orgGaétan Lepage 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
@weethet:catgirl.cloudWeetHetIt also helps greatly with sandboxed builds on macOS, thanks to reducing the number of store paths12:46:22
@glepage:matrix.orgGaétan Lepage Toma have I missed something ? 12:51:32
@tomasajt:matrix.orgToma
In reply to @glepage:matrix.org
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.
The actual fod is cargoDeps.vendorStaging
12:56:09
@glepage:matrix.orgGaétan LepageOk thanks !12:57:01
@pfhuh:matrix.orgpfhuh joined the room.15:08:45
@setthemfree:matrix.orgundltd joined the room.16:10:09
@setthemfree:matrix.orgundltd I'm getting a different binary size with nix develop + cargo build --release vs nix build:
$ LANG=C ls -l target/release/om result/bin/om
-r-xr-xr-x 1 root root  3498576 Jan  1  1970 result/bin/om
-rwxr-xr-x 2 me users 3013152 Nov 18 16:25 target/release/om

The package in question is https://codeberg.org/undltd/om/

What could be the reason?
16:15:57
@emilazy:matrix.orgemily fixupPhase doing strip or something maybe 16:18:22
@setthemfree:matrix.orgundltd
In reply to@emilazy:matrix.org
fixupPhase doing strip or something maybe
I 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
@emilazy:matrix.orgemily set e.g. env.NIX_DEBUG = 7; for maximum verbosity 16:19:56
@emilazy:matrix.orgemily(tune value to taste)16:19:58
19 Nov 2024
@khaneliman:matrix.orgAustin Horstman
In reply to @glepage:matrix.org
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.
I'm reviewing a package that is implementing that fetcher and seeing weird results... https://github.com/NixOS/nixpkgs/pull/356353
03:21:55
@khaneliman:matrix.orgAustin Horstmanauthor sees one vendor hash and I see another03:22:04
@9hp71n:matrix.orgghpzin
In reply to@khaneliman:matrix.org
I'm reviewing a package that is implementing that fetcher and seeing weird results... https://github.com/NixOS/nixpkgs/pull/356353
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 had ~3 days ago did not have it, so it succeeded with previous hash.
04:52:35
@9hp71n:matrix.orgghpzin 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
@khaneliman:matrix.orgAustin Horstman
In reply to @9hp71n:matrix.org
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.
That makes sense, thank you!
04:53:24
@crop_tech:matrix.orgcrop joined the room.05:00:13
@crop_tech:matrix.orgcropi 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
@9hp71n:matrix.orgghpzinIirc 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-overlay05:15:19

Show newer messages


Back to Room ListRoom Version: 6