!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

304 Members
94 Servers

Load older messages


SenderMessageTime
26 Jul 2025
@dramforever:matrix.orgdramforevermeanwhile we're just unknown12:43:07
@dramforever:matrix.orgdramforeveri don't know what debian did but their "cross" prefix just does not have the vendor12:43:28
@dramforever:matrix.orgdramforeverbut that means the "full" "triple" has unknown right12:43:46
27 Jul 2025
@nullcube:matrix.org@nullcube:matrix.org left the room.02:11:53
28 Jul 2025
@ytr:tchncs.deytr set a profile picture.10:06:40
@p14:matrix.orgp14
In reply to @qyliss:fairydust.space
aarch64-pc-linux-gnu or aarch64-redhat-linux-gnu would probably work :P

& K900: just wanted to share that to my surprise, switching out the vendor does appear to have worked for non-trivial software. 👍🏻

Was fully expecting to hit the breakage K900 foresaw…

12:48:26
@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

Show newer messages


Back to Room ListRoom Version: 6