!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

313 Members
98 Servers

Load older messages


SenderMessageTime
3 Jul 2025
@opna2608:matrix.orgPunamaybe someone here who can give this an OK? https://github.com/NixOS/nixpkgs/pull/41995508:41:18
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @opna2608:matrix.org
maybe someone here who can give this an OK?
https://github.com/NixOS/nixpkgs/pull/419955
OK
15:57:40
4 Jul 2025
@winston:milli.ng@winston:milli.ng left the room.15:46:04
5 Jul 2025
@normalcea:matrix.orgjasi 🏳️‍⚧️ joined the room.21:54:08
7 Jul 2025
@jackleightcap:matrix.org@jackleightcap:matrix.org left the room.18:09:36
@colemickens:matrix.orgcolemickens 🏳️‍🌈 left the room.21:53:20
13 Jul 2025
@timschumi:matrix.orgtimschumi joined the room.18:28:33
14 Jul 2025
@anderson_torres:matrix.org@anderson_torres:matrix.org left the room.11:14:18
15 Jul 2025
@tazv:matrix.org@tazv:matrix.org left the room.14:17:56
22 Jul 2025
@opna2608:matrix.orgPuna maybe someone here again who can give this a look, and has the permissions necessary to upload these 👉️👈️? been using them for the last 3 weeks, so they work fine on the target in question.
https://github.com/NixOS/nixpkgs/pull/423133
14:45:35
@opna2608:matrix.orgPuna * maybe someone here again who can give this a look, and has the permissions necessary to upload these 👉️👈️? been using them for the last 2 or so weeks, so they work fine on the target in question.
https://github.com/NixOS/nixpkgs/pull/423133
14:46:18
@solidhal:matrix.orgsolideva joined the room.20:38:54
23 Jul 2025
@lotte:chir.rs@lotte:chir.rs changed their profile picture.10:13:58
@implr:hackerspace.plimplr set a profile picture.10:58:11
@implr:hackerspace.plimplr changed their profile picture.11:21:56
24 Jul 2025
@blocklisted:matrix.orgblocklisted joined the room.10:07:02
25 Jul 2025
@yuyanugrazi-9001:matrix.org@yuyanugrazi-9001:matrix.org joined the room.05:02:03
@yuyanugrazi-9001:matrix.org@yuyanugrazi-9001:matrix.org removed their display name yuyanugrazi-9001.05:10:21
@yuyanugrazi-9001:matrix.org@yuyanugrazi-9001:matrix.org left the room.05:10:33
26 Jul 2025
@p14:matrix.orgp14

I'm interested in trying to do a cross compile from a standard aarch64-unknown-linux-gnu nixpkgs, to an aarch64-unknown-linux-gnu nixpkgs with gcc.arch set to something non-standard. If I do this, I bump headlong into https://github.com/NixOS/nixpkgs/issues/265121
Lots of things 'work' but some fundamental dependencies in nixpkgs have this problem with buildPackages.stdenv.cc -- the toolchains seem somewhat screwed up, the wrapper ends up creating compilers called aarch64-unknown-linux-gnu-aarch64-unknown-linux-gnu-cc or similar, because stdenv.buildPlatform != stdenv.hostPlatform even though the target triples are the same.

It seems tricky: how can nixpkgs distinguish the build and host toolchains in the PATH when they have the same triple?
For my purposes I actually wouldn't care if we happened to use the 'host' toolchain for build (because I'm trying to use more recently available architectural features which are available on my build machines). But at the moment it is just broken.

My intent is to use a 'cross' build setup so that I don't have to build the whole world with my arch settings, but just the things required for runtime.

Anyone got experience or thoughts on this? John Ericson

11:42:04
@qyliss:fairydust.spaceAlyssa RossIIRC it's not so much that Nixpkgs doesn't distinguish but that GNU doesn't12:17:34
@qyliss:fairydust.spaceAlyssa RossAutoconf assumes that cross compiling is when the triples don't match12:17:56
@p14:matrix.orgp14Is this insurmountable? Does it mean the only solution is to do a non-cross build-the-world-from-scratch?12:32:36
@k900:0upti.meK900Just overlay individual packages?12:33:16
@k900:0upti.meK900Also, have you benchmarked this, like, at all?12:33:24
@p14:matrix.orgp14It's not about benchmarking for me. It's about architectural features.12:33:37
@k900:0upti.meK900Because it's extremely unlikely you'll get significantly better performance from doing that12:33:40
@p14:matrix.orgp14And it's not about individual packages12:33:41
@k900:0upti.meK900What "architectural features"?12:33:51
@p14:matrix.orgp14We're talking about things like hardening features for example. pac-ret being one example.12:33:58

Show newer messages


Back to Room ListRoom Version: 6