!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
9 Jul 2025
@jonhermansen:matrix.orgjonhermansenI meant to try grepping for "None" in nix src01:20:39
@jonhermansen:matrix.orgjonhermansenThis zip file is references in the selenium-server-standalone package that is currently in nixpkgs master01:21:08
@jonhermansen:matrix.orgjonhermansen* This zip file is referenced in the selenium-server-standalone package that is currently in nixpkgs master01:21:22
@jonhermansen:matrix.orgjonhermansen2.18.1 is a very old version I think01:22:48
@jonhermansen:matrix.orgjonhermansenYou can install Nix on your Ubuntu system with the script at https://nixos.org/download/ and you may be able to see the more recent issue01:26:33
@nh2:matrix.orgnh2 Hm indeed that's from 2023, I will update. I guess my nix comes from nix-env and does not get updated with general home-manager updates 01:27:13
@jonhermansen:matrix.orgjonhermansenIIRC you can update nix with nix01:27:29
@jonhermansen:matrix.orgjonhermansenI'm not sure based on your setup, but the script should install Nix for you, if you want to stay on the safe side you can pick single-user mode01:28:22
@jonhermansen:matrix.orgjonhermansenyou can have both versions installed side by side.01:28:41
@jonhermansen:matrix.orgjonhermansen* I'm not sure based on your setup, but that script should install Nix for you, and if you want to stay on the safe side you can pick single-user mode01:28:56
@jonhermansen:matrix.orgjonhermansen* I'm not sure based on your setup, but that script should install Nix for you, and if you want to stay on the safe side you can pick single-user installation01:29:35
@dramforever:matrix.orgdramforeverhmm, there should be a message before that01:30:06
@nh2:matrix.orgnh2 My Nix was installed on Ubuntu in single-user mode 10 years ago, so I suspect I'm already using the method you're suggesting. Doing nix-env -iA nixpkgs.nix to get 2.28.4.
Indeed that fixed the core dump, so probably not an issue anymore
01:31:01
@nh2:matrix.orgnh2 was downloading 'https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar' but nothing else 01:31:07
@nh2:matrix.orgnh2

jonhermansen: thanks for pointing out the old version, as a reward I confirm your bug from the other channel:

 % nix-prefetch-url 'https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar'
error: failed to get libarchive filter by name: No such filter 'None'
01:31:37
@jonhermansen:matrix.orgjonhermansenThank you for trying it, actually its helpful to know its not just me.01:32:17
@dramforever:matrix.orgdramforeveryes, there were a bunch of random weird bugs for early 2.1801:32:32
@jonhermansen:matrix.orgjonhermansenI tried other jar and zip files, and the command doesn't have the same behavior. I haven't yet tried, but I'm going to copy the bad file to a local web server and see if the same thing happens. Then, at least I can confirm that its something wrong with that file.01:34:37
@jonhermansen:matrix.orgjonhermansenMaybe libarchive has an issue with it or smth wrt handling of zip files in Nix.01:35:08
@nh2:matrix.orgnh2 jonhermansen: yes, copying it to your own location also ensures that given it works for hexa , we can exclude that some of us got different bytes delivered by that URL 01:36:42
@jonhermansen:matrix.orgjonhermansenThis URL seems to work fine, but it has different contents https://github.com/SeleniumHQ/selenium/releases/download/selenium-3.141.0/selenium-server-standalone-3.141.0.jar01:37:36
@jonhermansen:matrix.orgjonhermansen
~ curl -s https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar | sha256sum
acf71b77d1b66b55db6fb0bed6d8bae2bbd481311bcbedfeff472c0d15e8f3cb  -
01:38:31
@jonhermansen:matrix.orgjonhermansen
~ curl -s https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar | file -  
/dev/stdin: Zip archive data, at least v2.0 to extract, compression method=deflate
~ curl -s https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar | sha256sum
acf71b77d1b66b55db6fb0bed6d8bae2bbd481311bcbedfeff472c0d15e8f3cb  -
01:39:11
@dramforever:matrix.orgdramforever huh, i think i found it: the failing url returns an http header content-encoding: None 01:40:32
@dramforever:matrix.orgdramforever that's where None has been coming from 01:40:42
@jonhermansen:matrix.orgjonhermansenLOL01:40:49
@jonhermansen:matrix.orgjonhermansencan you see verbose curl info when running Nix?01:41:10
@dramforever:matrix.orgdramforeverdoesn't seem like it01:41:54
@jonhermansen:matrix.orgjonhermansenbut someone else ran the command on another system and got a different result? is the result also dependend on the sqlite DB state?01:42:08
@jonhermansen:matrix.orgjonhermansen* but someone else ran the command on another system and got a different result? is the result also dependent on the sqlite DB state?01:42:17

Show newer messages


Back to Room ListRoom Version: 6