9 Jul 2025 |
dramforever | but i'm not sure how much more gracefully we can handle it | 01:50:25 |
jonhermansen | Nix should probably throw an error. | 01:50:26 |
jonhermansen | Content-Encoding: None makes no sense. | 01:50:35 |
dramforever | throw a better error | 01:50:35 |
jonhermansen | * Content-Encoding: None makes no sense from the server and it can be surfaced to the user | 01:51:06 |
dramforever | honestly having a "error while processing http request" would be helpful enough | 01:51:12 |
jonhermansen | Relevant: https://github.com/NixOS/nix/issues/1568#issuecomment-330163663 | 02:01:18 |
jonhermansen | * Relevant: https://github.com/NixOS/nix/issues/1568#issuecomment-330163060 | 02:14:18 |
dramforever | probably not | 03:11:48 |
dramforever | given that the encoding was there before | 03:11:59 |
| sodiboo joined the room. | 18:29:01 |
Sergei Zimmerman (xokdvium) | In reply to @nh2:matrix.org looks like that message should be improved to make that clear Yeah sorry, I think that error message is my bad. | 18:58:48 |
Sergei Zimmerman (xokdvium) | In reply to @jonhermansen:matrix.org does it happen on Lix? IIRC libarchive is used to support more compression algorithms like bz2, which are not natively supported by curl. IFAIK lix did away with encodings not supported by curl. I wonder how libcurl handles such situations under the hood when using built-in support for decompression. | 19:04:07 |
Sergei Zimmerman (xokdvium) | In reply to @jonhermansen:matrix.org can you see verbose curl info when running Nix? -vvvvv (I think the level there is vomit) also makes libcurl output headers and other debug info. | 19:06:03 |
10 Jul 2025 |
jade_ | yeah. lix has plausibly had more refactoring of the http client because it was previously doing standards noncompliant stuff | 03:44:30 |
11 Jul 2025 |
| jollywater joined the room. | 01:11:43 |
jollywater | any plans or current development in rust for Nix/NixOS? | 01:12:32 |
K900 | Nix itself not much, Lix folks are exploring some things | 06:17:24 |
K900 | NixOS has a bunch of Rust yes | 06:17:28 |
jollywater | nice to see rust being implemented in the OS itself, ill have to go look over the github | 07:46:44 |
K900 | Most of the Rust code is in nixpkgs itself | 07:48:10 |
K900 | e.g. switch-to-configuration-ng | 07:48:18 |
K900 | And a bunch more tooling | 07:48:24 |
jollywater | git only shows 0.2% Rust | 07:48:47 |
K900 | Well yes, because the repo is overwhelmingly Nix | 07:49:19 |
jollywater | I know thats not a good metric though, yall make it a priority to code new tools in rust? | 07:49:25 |
K900 | No | 07:49:29 |
K900 | There is no such policy | 07:49:35 |
K900 | Generally those kinds of decisions are made on a case by case basis | 07:49:53 |
jollywater | not policy persay but strong focus or interest from contributors | 07:49:57 |