!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

849 Members
For people hacking on the Nix package manager itself184 Servers

Load older messages


SenderMessageTime
9 Jul 2025
@dramforever:matrix.orgdramforever std::string 01:46:53
@hexa:lossy.networkhexano01:46:56
@hexa:lossy.networkhexa
❯ nix-prefetch-url 'https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar'
path is '/nix/store/zksqwm6y2706rxx96v88dlw4hvvffw2i-selenium-server-standalone-3.141.59.jar'
1jzkx0ahsb27zzzfvjqv660x9fz2pbcddgmhdzdmasxns5vipxxc
01:47:15
@jonhermansen:matrix.orgjonhermansenCan you try removing that path from the Nix store?01:47:40
@hexa:lossy.networkhexaI did01:47:49
@hexa:lossy.networkhexaI didn't want to keep it around from earlier01:48:02
@jonhermansen:matrix.orgjonhermansenAh, ok, good. So it has no dependency on the state of whats in /nix01:48:06
@jonhermansen:matrix.orgjonhermansenI had the file in my store, and I was getting that result01:48:19
@jonhermansen:matrix.orgjonhermansenso thats helpful to know too. Ok!01:48:30
@jonhermansen:matrix.orgjonhermansenI can write up a bug of some sort? It would be interesting to know what went wrong with this file01:48:57
@jonhermansen:matrix.orgjonhermansenThe Content-Encoding issue could also happen on other packages, I guess?01:49:18
@dramforever:matrix.orgdramforeverit's probably worth reporting01:50:18
@dramforever:matrix.orgdramforeverbut i'm not sure how much more gracefully we can handle it01:50:25
@jonhermansen:matrix.orgjonhermansenNix should probably throw an error.01:50:26
@jonhermansen:matrix.orgjonhermansenContent-Encoding: None makes no sense.01:50:35
@dramforever:matrix.orgdramforeverthrow a better error01:50:35
@jonhermansen:matrix.orgjonhermansen* Content-Encoding: None makes no sense from the server and it can be surfaced to the user01:51:06
@dramforever:matrix.orgdramforeverhonestly having a "error while processing http request" would be helpful enough01:51:12
@jonhermansen:matrix.orgjonhermansenRelevant: https://github.com/NixOS/nix/issues/1568#issuecomment-33016366302:01:18
@jonhermansen:matrix.orgjonhermansen* Relevant: https://github.com/NixOS/nix/issues/1568#issuecomment-33016306002:14:18
@dramforever:matrix.orgdramforeverprobably not03:11:48
@dramforever:matrix.orgdramforever given that the encoding was there before 03:11:59
@sodiboo:gaysex.cloudsodiboo joined the room.18:29:01
@xokdvium:matrix.orgSergei 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
@xokdvium:matrix.orgSergei 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
@xokdvium:matrix.orgSergei 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_:matrix.orgjade_yeah. lix has plausibly had more refactoring of the http client because it was previously doing standards noncompliant stuff03:44:30
11 Jul 2025
@jollywater:matrix.orgjollywater joined the room.01:11:43
@jollywater:matrix.orgjollywaterany plans or current development in rust for Nix/NixOS?01:12:32
@k900:0upti.meK900Nix itself not much, Lix folks are exploring some things06:17:24

Show newer messages


Back to Room ListRoom Version: 6