!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
17 Jan 2026
@eveeifyeve:matrix.orgeveeifyeve* It tries to return a base error however error isn't initialized so it panics with no message.00:39:38
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @eveeifyeve:matrix.org
Mingw handles absolute paths very differently. See https://matrix.to/#/!GmJrQRmEoTfulqyDge:nixos.org/$wgpJvzKLbFEP9H1BGsAUd2NW1q4hMz4p_VDOmJzZ55E?via=nixos.org&via=matrix.org&via=tchncs.de
I’m aware, please see https://github.com/NixOS/nix/commit/675656ffbaca8b9c7982a3a5301b517b14f5cfa7
00:40:41
@eveeifyeve:matrix.orgeveeifyeveDo you want me try to update https://github.com/msys2/MINGW-packages/pull/22499 and try running it again?00:41:48
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @eveeifyeve:matrix.org
It tries to return a base error however error isn't initialized so it panics with no message.
Once again, that is an issue with a global initializers not printing the exception info before main. Not much we can do now
00:41:49
@eveeifyeve:matrix.orgeveeifyeveIs this backported?00:44:38
@eveeifyeve:matrix.orgeveeifyeve Sergei Zimmerman (xokdvium): Compiled it, however still failing to launch. 02:03:53
@eveeifyeve:matrix.orgeveeifyeve * Sergei Zimmerman (xokdvium): Compiled it, however still failing to launch. I am going to look into a debug build to try and debug it. 02:04:08
@theo-paris:matrix.orgTheo Paris joined the room.02:04:16
@eveeifyeve:matrix.orgeveeifyeveShould I move this discussion to #windows:nixos.org?02:15:33
@eveeifyeve:matrix.orgeveeifyeve* Should I move this discussion to https://matrix.to/#/#windows:nixos.org?02:16:08
@normalcea:matrix.org@normalcea:matrix.org removed their profile picture.04:09:07
@normalcea:matrix.org@normalcea:matrix.org removed their display name jasi 🏳️‍⚧️.04:09:15
@normalcea:matrix.org@normalcea:matrix.org left the room.04:09:23
18 Jan 2026
@roberthensing:matrix.orgroberth

I would much appreciate your feedback on https://github.com/NixOS/rfcs/pull/196: Self-describing store
This RFC proposes that stores provide a nix-store.json file declaring their properties, enabling:

  • Discovery of store settings (storeDir, encoding, etc.)
  • Forward compatibility through explicit feature requirements
  • A unified replacement for the ad hoc nix-cache-info format
16:55:25
@roberthensing:matrix.orgroberth(best discussed over there)16:56:38
@lasverdos:matrix.orglosvedar joined the room.17:37:54
@isabel:isabelroses.comisabel changed their profile picture.20:43:31
19 Jan 2026
@niksnut:matrix.orgniksnutlooks good to me in principle10:01:39
@raboof:matrix.orgraboof is it expected that // is not lazy? i.e. it evaluates the LHS even if the RHS holds the thing I'm taking from it? 14:26:57
@raboof:matrix.orgraboof * is it expected that // is not lazy? i.e. it evaluates the left parameter even if the right parameter holds the thing I'm taking from it? 14:27:44
@qyliss:fairydust.spaceAlyssa Ross
nix-repl> ({ foo = throw "oh no"; } // { foo = 1; }).foo
1
14:28:09
@qyliss:fairydust.spaceAlyssa Rosslooks lazy to me?14:28:13
@raboof:matrix.orgraboof
nix-repl> ((throw "oh no") // { foo = "foo"; }).foo
  error: oh no
14:31:30
@ma27:nicht-so.sexyma27 attr-names are generally not lazy in Nix, hence the throw is being evaluated. 14:32:02
@raboof:matrix.orgraboof I read // as a function (in infix notation) with two parameters, perhaps that's not how this works? 14:32:41
@raboof:matrix.orgraboof right, so // creates its set of attr-names at first access. that makes some sense I guess. 14:40:42
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @raboof:matrix.org
is it expected that // is not lazy? i.e. it evaluates the left parameter even if the right parameter holds the thing I'm taking from it?
Yes, attribute names are evaluated eagerly in part due to how attrsets are stored internally
14:42:23
@joerg:thalheim.ioMic92Also because they have to be lexical sorted, no?14:56:23
@roberthensing:matrix.orgroberthIt's the simple thing to do, and simple is fast, usually. Not being simple is what stalled https://github.com/NixOS/nix/pull/415414:57:32
@roberthensing:matrix.orgroberthCould be revisited, but it does change the language semantics so that's tricky, and hard to backtrack away from in the future14:58:10

Show newer messages


Back to Room ListRoom Version: 6