!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

464 Members
Rust111 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
13 Aug 2024
@emilazy:matrix.orgemilyif you want to rebuild all rust stuff after your change nixpkgs-review is a good option19:09:36
@emilazy:matrix.orgemilyI just assumed you were trying to avoid that :)19:09:39
@a-kenji:matrix.orga-kenjiYes. Sorry I am on mobile right now.19:09:44
@me:linj.techlinjso "build a bit" means have a powerful computer?19:10:41
@emilazy:matrix.orgemilyor a lot of patience19:10:49
@me:linj.techlinj * so "build a bit" means having a powerful computer?19:10:50
@emilazy:matrix.orgemilyif you don't have a ton of CPU cycles to spare, you might want to apply for access to some of the community build boxes19:10:59
@me:linj.techlinjoh, good idea19:11:23
@emilazy:matrix.orgemilyhttps://nix-community.org/community-builder/ https://github.com/NixOS/aarch64-build-box19:11:26
@me:linj.techlinjI already have access to the darwin box19:11:35
@emilazy:matrix.orgemily we have x86_64-linux, aarch64-linux, aarch64-darwin 19:11:35
@emilazy:matrix.orgemilyyou'll be competing with me for free CPU cycles though :)19:11:46
@emilazy:matrix.orgemilyanyway, I think it is also okay to just do some spot checks and let other people review and crunch builds for wide-scale changes19:12:26
@emilazy:matrix.orgemilywe never go into any staging cycle knowing exactly what will break19:12:37
@me:linj.techlinjI try to improve composability of the rust builder and Emacs lisp builders. Here is my attempt: https://github.com/NixOS/nixpkgs/pull/334476. Any thoughts?21:13:43
14 Aug 2024
@fudgemaster:matrix.orgFrank Geusch changed their display name from Master Fudge to Frank Geusch.13:25:41
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.as left the room.15:21:53
@emilazy:matrix.orgemilyI learned today that Cargo will actually refuse to resolve multiple minor versions of a SemVer-compatible major version within one dependency graph even if it's required to satisfy transitive dependencies21:04:51
@emilazy:matrix.orgemilyhttps://doc.rust-lang.org/cargo/reference/resolver.html#semver-compatibility21:04:58
@emilazy:matrix.orgemilythat's very promising for the hopes of only packaging one minor version per major version in Nixpkgs21:05:17
@emilazy:matrix.orgemily because it means that =0.1.2 and >0.1 && <0.1.2 are already really fragile in the presence of any other crate that depends on the same crate 21:05:47
15 Aug 2024
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯

Hm, say, if updating to 1.80 in nixpkgs breaks packages because 1.80 adds some warnings and those packages treat warnings as errors, why not set RUSTFLAGS=--cap-lints=warn on those packages and call it a day?
(I do wonder why it's not set globally, too. -Wno-error is not set globally either. Same reason, I suppose.)

23:54:32
16 Aug 2024
@k900:0upti.meK900It's not that you shouldn't do that 05:33:49
@k900:0upti.meK900It's that we haven't done that for staging because there's literally hundreds of those 05:34:01

Show newer messages


Back to Room ListRoom Version: 6