!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

516 Members
106 Servers

Load older messages


SenderMessageTime
10 Sep 2025
@k900:0upti.meK900And it will take a lot of work to make it happen20:41:00
@frontear:matrix.orgfrontearThat’s insightful thank you. I’ll go get an actual system setup for my sake then20:42:33
@rosssmyth:matrix.orgrosssmyth We are working on it!
#windows:nixos.org
23:49:05
@rosssmyth:matrix.orgrosssmythProgress is being made23:49:24
11 Sep 2025
@ihar.hrachyshka:matrix.orgIhar Hrachyshka joined the room.00:07:24
@winter:catgirl.cloudWinter Can I get an explanation of the propagation mapOffset stuff? I know that e.g. if I want something in nativeBuiildInputs to propagate to buildInputs, depsTargetTargetPropagated is the way, but no mater which way I subtract/add the offsets, nothing is consistent enough that I trust my math is right. 13:24:39
12 Sep 2025
@rosssmyth:matrix.orgrosssmythHow is one supposed to write tests to ensure cross-compilation continues working if you are not supposed to write "pkgsCross" in derivations 01:30:57
@rosssmyth:matrix.orgrosssmythincluding for passthru tests01:31:19
@rosssmyth:matrix.orgrosssmythBased upon: https://github.com/NixOS/nixpkgs/pull/430515#issuecomment-314847776101:33:45
@emilazy:matrix.orgemily I don't see an issue with it for passthru.tests 01:34:57
@emilazy:matrix.orgemilyother than maybe there might be a technical problem with the "disabling variants in the package set" machinery01:35:11
@rosssmyth:matrix.orgrosssmythApparently there is though 01:35:44
@rosssmyth:matrix.orgrosssmyth John Ericson: Can you provide some insight as to why this should not be done? 01:37:05
@emilazy:matrix.orgemily you can probably cheat by import path { … } 🙃 01:37:13
@emilazy:matrix.orgemilymaybe ping wolfgangwalther in an issue and ask for his take01:37:17
@emilazy:matrix.orgemilyby a technical problem, I mean it not working because we want to flip the "allow variants" switch off by default01:37:33
@emilazy:matrix.orgemily which might cause pkgsCross to simply not be possible to reference from Nixpkgs 01:37:46
@emilazy:matrix.orgemily OTOH, there are things to work out before that would be feasible, for pkgsCross 01:37:54
@emilazy:matrix.orgemily if there is no immediate technical limitation to using it for passthru.tests then I see no problem doing it there 01:38:06
@emilazy:matrix.orgemily(but it should still be avoided in actual derivation bodies where possible)01:38:15
@dramforever:matrix.orgdramforever if it's an entire platform maybe we should add it to pkgs/top-level/release-cross.nix 01:38:21
@dramforever:matrix.orgdramforeveralthough tbh i'm not sure who's watching that01:39:58
@rosssmyth:matrix.orgrosssmythPerhaps, mingwW64 is already on there but it seems for some subset of packages01:40:08
@rosssmyth:matrix.orgrosssmythI don't even know where to look for such things. I do not understand the Hydra interface if it is there somewhere 01:42:57
@creepinson:matrix.org@creepinson:matrix.org left the room.01:43:03
@dramforever:matrix.orgdramforeverthis probably https://hydra.nixos.org/jobset/nixpkgs/cross-trunk01:44:25
@rosssmyth:matrix.orgrosssmythI would like to fix rust cross compiling for mingwW64, as it has been broken for a while, but I would also like to add a test so it doesn't break in the future is my motivation 01:48:00
13 Sep 2025
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.09:45:58
@corridor4572:matrix.orgRichInOverdraft removed their profile picture.16:44:29
@niklas.foerster:scs.ems.hostNiklas Förster (vacation until 29.09.) changed their display name from Niklas Förster to Niklas Förster (vacation until 29.09.).19:01:50

There are no newer messages yet.


Back to Room ListRoom Version: 6