!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

912 Members
For people hacking on the Nix package manager itself190 Servers

Load older messages


SenderMessageTime
18 Mar 2025
@Las:matrix.orgLasMaybe in 2035 Mobile Element will support threads so I can respond it a thread18:52:03
@Las:matrix.orgLas * 18:52:12
@emilazy:matrix.orgemily(Element X does)18:54:10
@k900:0upti.meK900Normal Element does too18:54:27
@k900:0upti.meK900Though we generally try to not use threads in public rooms because there's still clients that don't display them properly or at all18:54:45
@Las:matrix.orgLasI can’t make one on iOS I think?19:03:25
@Ericson2314:matrix.orgJohn EricsonI never saw any mutex or something that made it obviously single threaded, but yes I believe that is the intent19:08:15
@Las:matrix.orgLasSealed state was a mistake19:14:37
@Las:matrix.orgLas * 21:56:23
@Las:matrix.orgLas * 21:56:29
19 Mar 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) changed their display name from xokdvium to Sergei Zimmerman (xokdvium).21:12:20
@Ericson2314:matrix.orgJohn Ericson
+(shell.sh:21) nix shell -f shell-hello.nix hello-symlink -c hello
+(shell.sh:21) grep 'Hello World'
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:341) checkGrepArgs 'Hello World'
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:290) local arg
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:291) for arg in "$@"
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:292) [[ Hello World != \H\e\l\l\o\ \W\o\r\l\d ]]
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:342) command grep 'Hello World'
this derivation will be built:
  /tmp/nix-shell.FPcQP5/nix-test/main/shell/store/bbqd8bbcr4i32nahm7ygqhwpwj3xfidm-hello-symlink.drv
building '/tmp/nix-shell.FPcQP5/nix-test/main/shell/store/bbqd8bbcr4i32nahm7ygqhwpwj3xfidm-hello-symlink.drv'...
error: 'tmp' is too short to be a valid store path
21:41:30
20 Mar 2025
@roberthensing:matrix.orgRobert Hensing (roberth) Martin Schwaighofer: https://github.com/NixOS/nix/issues/12361 13:40:36
@sinan:sinanmohd.comsinan changed their display name from sinan to sinan (we're so back).17:52:14
@sinan:sinanmohd.comsinan changed their profile picture.17:52:43
@sinan:sinanmohd.comsinan changed their profile picture.17:54:05
@jade_:matrix.orgjade_

FYI in re https://git.lix.systems/lix-project/lix/issues/750, it seems like nixos/nix fixed this by accident, but still has some amount of an underlying bug (or at least poor documentation of the treatment of the underlying bug): the info.path in this spot is the bad 9hagx value

https://github.com/NixOS/nix/blob/3032512425a09fc58f2d658442043894e0aab256/src/libfetchers/tarball.cc#L74-L83

19:00:58
@jade_:matrix.orgjade_ (and it does not seem like it can be trivially changed to recursive hash mode there, since that breaks a bunch of observable behaviour. i have no idea how this is supposed to behave, but it seems like a really quite large bug) 19:01:44
@jade_:matrix.orgjade_ * (and it does not seem like it can be trivially changed to recursive hash mode there, since that breaks a bunch of observable behaviour. i have no idea how this is supposed to behave, but it seems like a really quite tricky bug) 19:01:50
@jade_:matrix.orgjade_ okay update: i can confirm that nixos/nix master emits that 9hagx path into the store and then additionally gets the q9prs one 21:56:28
@jade_:matrix.orgjade_ * okay update: i can confirm that nixos/nix master emits that 9hagx path into the store and then additionally makes the q9prs one 21:56:33
@jade_:matrix.orgjade_ that seems at least inefficient if the files are large 21:56:41
@jade_:matrix.orgjade_

repro:

builtins.fetchTree {
  narHash = "sha256-WmkitUnTwTCCdq0a08EdUBC/UTo/i4+xwD3mk19NA1Q=";
  type = "file";
  url = "https://releases.lix.systems/lix/lix-2.90.0/manifest.nix";
}
21:57:01
@jade_:matrix.orgjade_found some bonus context: https://github.com/NixOS/nix/pull/6548#discussion_r87792175623:09:50
@hexa:lossy.networkhexathe builders are returning to nix 2.24.12 tonight23:24:13
@hexa:lossy.networkhexathe version on nixos-24.1123:24:32
@jade_:matrix.orgjade_wow. i can change it to recursive and it passes tests? absurd.23:26:21
@jade_:matrix.orgjade_that should not be possible. our tests clearly don't work if that's true23:26:38
@jade_:matrix.orgjade_explains the bug though :/23:26:53
@jade_:matrix.orgjade_(i broke tests by writing code that was wrong, but once i fixed my code, it passed, which, aaaaa)23:29:27

Show newer messages


Back to Room ListRoom Version: 6