!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

558 Members
121 Servers

Load older messages


SenderMessageTime
2 Dec 2025
@hsngrmpf:matrix.orgDavHau Occasionally I encounter cross packages which simply compile binaries for the wrong platform.
Is there a hook in nixpkgs that I can use to check if all binaries in $out/bin are for the correct platform?
06:43:18
@k900:0upti.meK900I don't think so, but it would be nice to have one06:49:49
@hsngrmpf:matrix.orgDavHaudone: https://github.com/NixOS/nixpkgs/pull/46718316:04:09
@k900:0upti.meK900I wonder how much it'll suck to just add it by default16:08:43
@hexa:lossy.networkhexacould this work with python3Minimal?16:10:25
@hsngrmpf:matrix.orgDavHauLet's add it by default later. I would like to make it available at all for now. And yeah, good point, it should use python3Minimal16:11:49
@hexa:lossy.networkhexaalso not sure how fancy we want to go, but couldn't the hook be null in non-cross situations16:23:54
@hexa:lossy.networkhexathat way we wouldn't have to guard it on every use16:24:14
@hsngrmpf:matrix.orgDavHauI think it would be better to go the route to always include it by default. even in non-cross scenarios. the check is very cheap.16:25:21
@hexa:lossy.networkhexayeah, eventually21:44:33
@hexa:lossy.networkhexabut until then it would ease adoption21:44:42
3 Dec 2025
@hsngrmpf:matrix.orgDavHauI'm not sure, because maybe someone wants to use it in a non-cross scenario, and then they cannot, because it is null.03:42:34
23 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".12:31:03
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".12:31:03
@grahamc:nixos.org@grahamc:nixos.org invited @qyliss:fairydust.spaceAlyssa Ross.12:31:18
@qyliss:fairydust.spaceAlyssa Ross joined the room.13:21:04
@symphorien:xlumurb.eusymphorien joined the room.13:29:22
@joe:monoid.aljoe joined the room.13:29:32
@cleverca22:matrix.orgcleverca22 joined the room.13:29:44
@andi:kack.itandi- joined the room.13:36:08
@sternenseemann:systemli.orgsterni joined the room.13:39:12
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.14:52:21
@milan:petabyte.devMilan (they/them) 🏳️‍⚧️ joined the room.14:52:24
@thefloweringash:matrix.orgthefloweringash joined the room.14:52:43
@milan:petabyte.devMilan (they/them) 🏳️‍⚧️ changed their profile picture.18:30:44
@maljub01:matrix.orgmaljub01 joined the room.20:05:19
@colemickens:matrix.orgcolemickens 🏳️‍🌈 joined the room.21:50:09
24 May 2021
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.03:05:08
@rajivr:matrix.orgrajivr joined the room.03:35:42
@kunrooted:matrix.orgkunrooted joined the room.05:17:10

Show newer messages


Back to Room ListRoom Version: 6