!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

575 Members
126 Servers

Load older messages


SenderMessageTime
18 Aug 2025
@artturin:matrix.orgArtturinyaml-merge is run in the systemd service itself, not during the system build15:30:59
@dramforever:matrix.orgdramforeveri mean the wrapPython thing15:31:10
@dramforever:matrix.orgdramforever it makes you get the right thing for python3Packages.callPackage 15:31:12
@dramforever:matrix.orgdramforeverwhich gives you non-spliced python packages15:31:20
@dramforever:matrix.orgdramforevermaybe this part is not intentional design15:31:31
@dramforever:matrix.orgdramforever i mean maybe python3Packages.callPackage is doing the wrong thing 15:31:55
@artturin:matrix.orgArtturinIt's a bug that the python hooks are one offset off15:32:22
@dramforever:matrix.orgdramforeverthat's what i mean, i'm not sure it's a bug15:32:53
@artturin:matrix.orgArtturinIt's a workaround which works around a another limitation 15:34:24
@dramforever:matrix.orgdramforeverthat i agree15:34:32
@artturin:matrix.orgArtturinFollow the issue link in https://github.com/NixOS/nixpkgs/issues/43430715:34:34
@artturin:matrix.orgArtturin * pr link 15:34:44
@artturin:matrix.orgArtturin * * pr link in the body 15:34:48
@artturin:matrix.orgArtturinIt's quite complicated and I'm not sure why the hooks are spliced wrong out of the scope15:36:23
@dramforever:matrix.orgdramforever do you think pkgsCross.*.python3Packages.callPackage should provide a spliced wrapPython? 15:37:25
@dramforever:matrix.orgdramforeverfor the record i have no idea15:38:14
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/228139 would make it provide a spliced wrapPython, however yaml-merge doesn't use python3Packages.callPackage15:38:17
@dramforever:matrix.orgdramforever i think if it provides spliced wrapPython, then we have to fix the offsets (#434307), and it will make yaml-merge work, so i'm probably thinking something wrong 15:40:27
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/blob/62ef08e9a4d536471ab381a7ae39d38dc79b23a3/lib/customisation.nix#L717 the keep makes the attrs not spliced inside the scope15:40:31
@artturin:matrix.orgArtturinActually hmm15:42:17
@artturin:matrix.orgArtturin* Maybe the self there is the reason why the python has wrong offsets15:43:43
@dramforever:matrix.orgdramforever also the workaround in yaml-merge should probably just be pkgsHostTarget.python3Packages.wrapPython 15:44:13
@dramforever:matrix.orgdramforeveri'll put that on the pr15:44:58
@dramforever:matrix.orgdramforeverwrapPython is "a bit like" stdenv15:47:43
@artturin:matrix.orgArtturinAs a workaround to https://github.com/NixOS/nixpkgs/issues/21134016:09:47
@artturin:matrix.orgArtturin* Only as a workaround to https://github.com/NixOS/nixpkgs/issues/21134016:09:55
@dramforever:matrix.orgdramforeveri was thining about this16:23:58
@dramforever:matrix.orgdramforever* i was thinking about this16:24:02
@dramforever:matrix.orgdramforeverokay that, seems orthogonal right?16:25:33
@dramforever:matrix.orgdramforeverunless by linking to #211340 you mean general splicing woes16:26:08

Show newer messages


Back to Room ListRoom Version: 6