!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

316 Members
99 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Jul 2025
@qyliss:fairydust.spaceAlyssa RossSo you know how autoconf thinks cross compilation is only when build and host triples differ?12:59:13
@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

Show newer messages


Back to Room ListRoom Version: 6