!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
9 Jul 2025
@dramforever:matrix.orgdramforever and libarchive goes "i literally have no idea what None is" 01:44:41
@jonhermansen:matrix.orgjonhermansenHow big is the buffer that stores the encoding string?01:45:09
@dramforever:matrix.orgdramforever normally it should only give what we send as Accept-Encoding 01:45:21
@jonhermansen:matrix.orgjonhermansenThis is libcurl right, I guess nix includes in01:45:22
@nh2:matrix.orgnh2

Repro: curl --silent --head 'https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar' | grep -i content-encoding
I get

x-goog-stored-content-encoding: None
content-encoding: None

hexa do you get that also, given it worked for you?

01:45:27
@jonhermansen:matrix.orgjonhermansen* This is libcurl right, I guess nix includes it01:45:31
@jonhermansen:matrix.orgjonhermansenyup01:45:50
@hexa:lossy.networkhexayes01:45:51
@dramforever:matrix.orgdramforeveri'm not sure why but i think we handle decompression ourselves01:45:51
@jonhermansen:matrix.orgjonhermansenx-goog-stored-content-encoding: None01:45:53
@dramforever:matrix.orgdramforeveror at least piping that01:45:59
@jonhermansen:matrix.orgjonhermansenEven Google corroborates the bad info01:46:02
@hexa:lossy.networkhexai run lix fwiw01:46:06
@jonhermansen:matrix.orgjonhermansenSo I wonder if its something with the way they published the releases01:46:17
@dramforever:matrix.orgdramforeversomeone uploaded it with the wrong content-encoding01:46:20
@jonhermansen:matrix.orgjonhermansenOk, I'm going to update the selenium package which will alleviate this problem anyways01:46:28
@jonhermansen:matrix.orgjonhermansenAnd if needed I can raise a bug for the Nix issue01:46:41
@jonhermansen:matrix.orgjonhermansendoes it happen on Lix?01:46:46
@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

Show newer messages


Back to Room ListRoom Version: 6