!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

292 Members
88 Servers

Load older messages


SenderMessageTime
28 Jul 2025
@Ericson2314:matrix.orgJohn Ericsonoh lol12:59:20
@qyliss:fairydust.spaceAlyssa RossAnd you also know how the vendor portion of the triple doesn't do anything useful?12:59:25
@qyliss:fairydust.spaceAlyssa RossWhat if we set the vendor component for the host to some hash of the host system12:59:42
@qyliss:fairydust.spaceAlyssa Ross(Possibly only when cross compiling)12:59:50
@Ericson2314:matrix.orgJohn Ericsonah but the point of this would be to cross-compile always?13:00:05
@qyliss:fairydust.spaceAlyssa Ross Well it would be to cross-compile whenever we think we're cross compiling 13:00:24
@qyliss:fairydust.spaceAlyssa RossNot necessarily always13:00:27
@qyliss:fairydust.spaceAlyssa Ross It's up to us whether we do it for lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform or not. 13:00:39
@dramforever:matrix.orgdramforever when currently localPlatform.config == crossPlatform.config but lib.systems.equals localPlatform crossPlatform it's cross but autotools doesn't think it is 13:01:03
@Ericson2314:matrix.orgJohn Ericsonit could just be foo-build-bar, baz-host-quux too, right?13:01:04
@qyliss:fairydust.spaceAlyssa RossTo start with at least I'd say we don't.13:01:05
@Ericson2314:matrix.orgJohn Ericsonno need for actual hash13:01:08
@dramforever:matrix.orgdramforeverhmm13:01:15
@qyliss:fairydust.spaceAlyssa Ross
In reply to @Ericson2314:matrix.org
it could just be foo-build-bar, baz-host-quux too, right?
What do you do when those shift in a later build though? Now they're named wrong.
13:01:33
@Ericson2314:matrix.orgJohn Ericsonideally they would not persist to a later build13:01:59
@dramforever:matrix.orgdramforeverit is what nixpkgs currently calls local and cross though13:01:59
@Ericson2314:matrix.orgJohn Ericsonbuild should def not persist13:02:17
@Ericson2314:matrix.orgJohn Ericsonhost.....I am not sure13:02:22
@qyliss:fairydust.spaceAlyssa Ross
In reply to @Ericson2314:matrix.org
ideally they would not persist to a later build
Hmm. We can't know that…
13:02:27
@Ericson2314:matrix.orgJohn Ericsontarget currently persists13:02:29
@Ericson2314:matrix.orgJohn Ericsonbut that is why everyone should work on GCC NG13:02:46
@Ericson2314:matrix.orgJohn Ericson:D13:02:56
@Ericson2314:matrix.orgJohn Ericsonwe can grep13:03:31
@dramforever:matrix.orgdramforeverhonestly13:03:40
@qyliss:fairydust.spaceAlyssa RossTBH I think it would be fine13:03:49
@qyliss:fairydust.spaceAlyssa RossWe could try it and switch to hashes if it doesn't work13:03:53
@dramforever:matrix.orgdramforever {arch}-unknown-{os}-{abi} and {arch}-cross-{os}-{abi} sounds nice 13:04:09
@qyliss:fairydust.spaceAlyssa Ross(I'm not volunteering to implement this — tbh I'm surprised nobody it's telling me it's too bonkers to even be considering)13:04:18
@Ericson2314:matrix.orgJohn Ericsonif we do hashes then I don't think we force build != host?13:04:26
@dramforever:matrix.orgdramforeveryes i'm bikeshedding13:04:27

Show newer messages


Back to Room ListRoom Version: 6