!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
1 Jul 2025
@roberthensing:matrix.orgroberthThat one can follow the structure of the LFS implementation12:11:40
@magic_rb:matrix.redalder.orgmagic_rbCan it be done as a plugin or does it have to be done in tree?12:11:59
@magic_rb:matrix.redalder.orgmagic_rbWhile experimenting a plugin would be much easier12:12:10
@roberthensing:matrix.orgroberth(oh, it quoted the whole message lol)12:12:11
@roberthensing:matrix.orgroberthI don't feel like plugins are easier because I don't think libfetchers plugins have been done, but I could be wrong12:13:00
@magic_rb:matrix.redalder.orgmagic_rbWell ill trust you on this one, i know nothing about nix's codebase, ill see if i get to this till nixcon12:13:35
@magic_rb:matrix.redalder.orgmagic_rbThanks for the chat robert12:14:35
@roberthensing:matrix.orgroberthGlad I could help :)12:32:02
2 Jul 2025
@michael.zeagler:matrix.org@michael.zeagler:matrix.org left the room.02:12:28
3 Jul 2025
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) Dumb question, why is queryDerive in perl binding having the different output from nix derivation show? And the former sometimes doesn't exist, for example for FOD derivation 03:35:44
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
=> diff <(nix derivation show /nix/store/l8k0pylnpwqygghg81xl0xd2gh6mwx51-hyprland-0.49.0.drv) <(nix derivation show /nix/store/wr5llaxf7b2hs9h4w57r1in3p27gip19-hyprland-0.49.0.drv)
2c2
<   "/nix/store/l8k0pylnpwqygghg81xl0xd2gh6mwx51-hyprland-0.49.0.drv": {
---
>   "/nix/store/wr5llaxf7b2hs9h4w57r1in3p27gip19-hyprland-0.49.0.drv": {
54a55,60
>       "/nix/store/07m7dxvrn127dxbkw1z560f9lqp0k1fy-systemd-257.6.drv": {
>         "dynamicOutputs": {},
>         "outputs": [
>           "dev"
>         ]
>       },
103c109
<       "/nix/store/8crp9ab8mh8n9px3jpybirplvyqmvyfi-aquamarine-0.8.0.drv": {
---
>       "/nix/store/88mr8yy390m73mml6j1yydssn4kgv2nw-xwayland-24.1.8.drv": {
106c112
<           "dev"
---
>           "out"
145,150d150
<       "/nix/store/dnlpqxhg50xmwxs85jqgzd29h4x8d2y9-systemd-257.6.drv": {
<         "dynamicOutputs": {},
<         "outputs": [
<           "dev"
<         ]
<       },
235c235
<       "/nix/store/qf8z2a2m2szv64q7fz1gc1cbaylzjx30-xcb-util-errors-1.0.1.drv": {
---
>       "/nix/store/nmkl6ljyvnfb778jdkahpjclzxdgm6fr-aquamarine-0.8.0.drv": {
241c241
<       "/nix/store/qvfgs67p2lg8xmy6lvj3wwx406ql5cjq-xwayland-24.1.8.drv": {
---
>       "/nix/store/qf8z2a2m2szv64q7fz1gc1cbaylzjx30-xcb-util-errors-1.0.1.drv": {
244c244
<           "out"
---
>           "dev"
04:16:53
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) The left is from the second line of nix derivation show /nix/store/dc5vnmz4y7dmy2h5m1pri7ldpv2q4lv1-hyprland-0.49.0, and the right is from $store->queryDeriver("/nix/store/dc5vnmz4y7dmy2h5m1pri7ldpv2q4lv1-hyprland-0.49.0") 04:18:57
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) I know it now. Same with https://github.com/NixOS/nix/issues/7562 04:38:09
4 Jul 2025
@magic_rb:matrix.redalder.orgmagic_rb

idk who i was talking to, maybe emily or aleksana but i was complaining about nix always copying my dotfiles to the nix store. So what happened just now is i did .dump of my nix DB, then .read into a fresh DB and it had 3 effects afaict:

  1. it shrunk from 599MB to 380MB ish
  2. nix GC completed no problem and it felt substantially faster on average, it wasnt randomly getting stuck
  3. nix no longer copies my dotfiles every time?
18:48:29
@dramforever:matrix.orgdramforever1 can probably be done with vaccum19:06:59
@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

Show newer messages


Back to Room ListRoom Version: 6