13 Aug 2024 |
emily | you'll be competing with me for free CPU cycles though :) | 19:11:46 |
emily | anyway, I think it is also okay to just do some spot checks and let other people review and crunch builds for wide-scale changes | 19:12:26 |
emily | we never go into any staging cycle knowing exactly what will break | 19:12:37 |
linj | I 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 |
| Frank Geusch changed their display name from Master Fudge to Frank Geusch. | 13:25:41 |
| @musicmatze:beyermatthi.as left the room. | 15:21:53 |
emily | I 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 dependencies | 21:04:51 |
emily | https://doc.rust-lang.org/cargo/reference/resolver.html#semver-compatibility | 21:04:58 |
emily | that's very promising for the hopes of only packaging one minor version per major version in Nixpkgs | 21:05:17 |
emily | 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 |
ˈ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 | It's not that you shouldn't do that | 05:33:49 |
K900 | It's that we haven't done that for staging because there's literally hundreds of those | 05:34:01 |
K900 | And we can't delay staging forever | 05:34:07 |
emily | I'm pretty sure it's a hard error, not a warning? | 05:39:06 |
emily | for the time crate thing | 05:39:15 |
emily | or is this about the cfg thing | 05:39:25 |
K900 | The time crate thing is a hard error | 05:41:24 |
K900 | But there's a few new warnings too | 05:41:29 |
| Humaid joined the room. | 05:51:07 |
damccull | Why is my starship prompt telling me I have rust 1.78 in this repo but I'm in a nix devshell where everything is 1.80.1? | 10:54:23 |
K900 | Are you sure? | 11:04:22 |
K900 | It could be using rust-overlay or something | 11:04:26 |
K900 | To get a specific rust version | 11:04:30 |
damccull | Yes I am sure. rustc and cargo both report 1.80.1 with --version...I wonder what it's using | 11:07:06 |
damccull | My template uses hte default $rust var | 11:07:47 |
damccull | wierd | 11:07:48 |
damccull | and I don't even have rust installed lol. Oh, I wonder if it's in my .rustup folder | 11:09:02 |
damccull | that's what it was... | 11:10:18 |
damccull | removing .rustup folder, which I must have created before I knew how to nix this, fixed it | 11:10:56 |