!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

326 Members
103 Servers

Load older messages


SenderMessageTime
28 Jul 2025
@p14:matrix.orgp14Main limiting factor is that you have to set it to a value nix knows about, so for now I am using pc but it would be great if I could set it to whatever I wanted.12:49:05
@p14:matrix.orgp14Is it possible to extend the vendor set in lib/systems/parse.nix, I wonder đŸ¤”12:51:49
@qyliss:fairydust.spaceAlyssa RossI am slowly warming to the "set it to a hash" idea the more I think about it12:57:47
@qyliss:fairydust.spaceAlyssa Ross John Ericson have you seen my horrible idea 12:57:59
@Ericson2314:matrix.orgJohn Ericsonnope12:58:50
@Ericson2314:matrix.orgJohn Ericsonsomething for the vendor?12:59:10
@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
@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

Show newer messages


Back to Room ListRoom Version: 6