9 Jul 2025 |
dramforever | or at least piping that | 01:45:59 |
jonhermansen | Even Google corroborates the bad info | 01:46:02 |
hexa | i run lix fwiw | 01:46:06 |
jonhermansen | So I wonder if its something with the way they published the releases | 01:46:17 |
dramforever | someone uploaded it with the wrong content-encoding | 01:46:20 |
jonhermansen | Ok, I'm going to update the selenium package which will alleviate this problem anyways | 01:46:28 |
jonhermansen | And if needed I can raise a bug for the Nix issue | 01:46:41 |
jonhermansen | does it happen on Lix? | 01:46:46 |
dramforever | std::string | 01:46:53 |
hexa | no | 01:46:56 |
hexa | ❯ 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 | Can you try removing that path from the Nix store? | 01:47:40 |
hexa | I did | 01:47:49 |
hexa | I didn't want to keep it around from earlier | 01:48:02 |
jonhermansen | Ah, ok, good. So it has no dependency on the state of whats in /nix | 01:48:06 |
jonhermansen | I had the file in my store, and I was getting that result | 01:48:19 |
jonhermansen | so thats helpful to know too. Ok! | 01:48:30 |
jonhermansen | I can write up a bug of some sort? It would be interesting to know what went wrong with this file | 01:48:57 |
jonhermansen | The Content-Encoding issue could also happen on other packages, I guess? | 01:49:18 |
dramforever | it's probably worth reporting | 01:50:18 |
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 |