!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
4 Jul 2025
@magic_rb:matrix.redalder.orgmagic_rbProbably19:54:28
5 Jul 2025
@sinan:sinanmohd.comsinan changed their profile picture.04:04:36
@normalcea:matrix.orgjasi 🏳️‍⚧️ changed their profile picture.20:49:27
@normalcea:matrix.orgjasi 🏳️‍⚧️ changed their display name from normalcea 🏳️‍⚧️ to jasi 🏳️‍⚧️.20:49:32
7 Jul 2025
@jackleightcap:matrix.org@jackleightcap:matrix.org left the room.18:10:32
@jonhermansen:matrix.orgjonhermansen joined the room.18:21:48
@colemickens:matrix.orgcolemickens 🏳️‍🌈 left the room.21:52:45
9 Jul 2025
@nh2:matrix.orgnh2 joined the room.01:17:14
@nh2:matrix.orgnh2

I get IOT instruction (core dumped) with nix-prefetch-url (Nix) 2.18.1 on Ubuntu, expected?

nix-prefetch-url 'https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar'

(gdb) bt
#0  0x00007ffff7282ddc in __pthread_kill_implementation () from /nix/store/1zy01hjzwvvia6h9dq5xar88v77fgh9x-glibc-2.38-44/lib/libc.so.6
#1  0x00007ffff72339c6 in raise () from /nix/store/1zy01hjzwvvia6h9dq5xar88v77fgh9x-glibc-2.38-44/lib/libc.so.6
#2  0x00007ffff721c8fa in abort () from /nix/store/1zy01hjzwvvia6h9dq5xar88v77fgh9x-glibc-2.38-44/lib/libc.so.6
#3  0x00007ffff774e465 in nix::sourceToSink(std::function<void (nix::Source&)>)::SourceToSink::finish() [clone .cold] ()
   from /nix/store/m28r6mf37cc8bwwq52kqdzdkc9yrq3ag-nix-2.18.1/lib/libnixutil.so
#4  0x00007ffff79499b0 in nix::curlFileTransfer::workerThreadMain() ()
   from /nix/store/m28r6mf37cc8bwwq52kqdzdkc9yrq3ag-nix-2.18.1/lib/libnixstore.so
#5  0x00007ffff79508f0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<nix::curlFileTransfer::curlFileTransfer()::{lambda()#1}> > >::_M_run() () from /nix/store/m28r6mf37cc8bwwq52kqdzdkc9yrq3ag-nix-2.18.1/lib/libnixstore.so
#6  0x00007ffff74e05c3 in execute_native_thread_routine ()
   from /nix/store/a3zlvnswi1p8cg7i9w4lpnvaankc7dxx-gcc-12.3.0-lib/lib/libstdc++.so.6
#7  0x00007ffff72810e4 in start_thread () from /nix/store/1zy01hjzwvvia6h9dq5xar88v77fgh9x-glibc-2.38-44/lib/libc.so.6
#8  0x00007ffff730375c in clone3 () from /nix/store/1zy01hjzwvvia6h9dq5xar88v77fgh9x-glibc-2.38-44/lib/libc.so.6
01:18:37
@jonhermansen:matrix.orgjonhermansenI got a crash with Nix also on i686, but it was a very old release (last ISO I could find)01:19:56
@jonhermansen:matrix.orgjonhermansen@nh2 I tried looking at the ZIP metadata, but I wonder if there's something wrong with the file format?01:20:27
@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

Show newer messages


Back to Room ListRoom Version: 6