!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
130 Servers

Load older messages


SenderMessageTime
18 Oct 2021
@trofi:matrix.orgtrofiOne step deeper into bison's failure on musl: https://github.com/NixOS/nixpkgs/issues/14206608:43:38
@trofi:matrix.orgtrofiWhich include order is correct?08:43:55
@joe:monoid.aljoe left the room.11:46:27
20 Oct 2021
@rick:matrix.ciphernetics.nlRick (Mindavi)Hmm, librsvg cross-compiling broke again since they added rsvg-convert -- it fails with a linker error after a lengthy build :(16:48:09
@phaer:matrix.orgphaer joined the room.21:01:34
@phaer:matrix.orgphaer left the room.21:01:40
@sternenseemann:systemli.orgsterniis there a reliable way to distinguish between a tuple and triple when parsing a platform specification?21:13:43
@sternenseemann:systemli.orgsterni the problem is that you can't just split on - and count the parts 21:14:07
@sternenseemann:systemli.orgsterni because of stuff like armv7a-linux-androideabi 21:14:21
@sternenseemann:systemli.orgsterni can't we just get rid of the nix system tuple and lib.platforms :| 21:14:56
@qyliss:fairydust.spaceAlyssa Rossdoesn't make them any easier to parse, unless you're proposing also switching from GNU to LLVM triples21:15:34
@qyliss:fairydust.spaceAlyssa Rosssternenseemann: what are you trying to do?21:16:18
@sternenseemann:systemli.orgsterniI'm trying to refactor some code in cabal2nix21:16:56
@sternenseemann:systemli.orgsterniand there is a flag where you can pass either a tuple or a LLVM triple21:17:08
@sternenseemann:systemli.orgsterniSo I thought I'd be strict about the tuple and otherwise fall back to cabal's triple parsing code21:17:31
@sternenseemann:systemli.orgsternibut that doesn't work if the kernel part has a dash21:17:42
@sternenseemann:systemli.orgsterniI want to avoid actually checking against a list 21:17:55
@sternenseemann:systemli.orgsterniand the problem is cabal also doesn't do that21:18:20
@qyliss:fairydust.spaceAlyssa Rossyou could use mkSystemFromString, but that would only work if it was a double or a GNU triple I think21:18:51
@sternenseemann:systemli.orgsternidon't want to call nix from haskell for this21:19:10
@qyliss:fairydust.spaceAlyssa Rossoh i see21:19:20
@sternenseemann:systemli.orgsternineeds to work in ifd for example21:19:20
@qyliss:fairydust.spaceAlyssa Rossis armv7a-linux-androideabi really a Nix double?21:19:52
@sternenseemann:systemli.orgsterniand reimplementing it won't work because it checks against a list of known kernels and arches right?21:19:56
@qyliss:fairydust.spaceAlyssa Rossyes21:20:03
@sternenseemann:systemli.orgsterni lib.systems.elaborate parsed it correctly 21:20:18
@sternenseemann:systemli.orgsternibut I suppose it's not a real one21:20:25
@sternenseemann:systemli.orgsternithe question is also if nix itself would accept it21:20:35
@qyliss:fairydust.spaceAlyssa RossI think the double would just be armv7a-linux21:21:21
@qyliss:fairydust.spaceAlyssa Rossconfigure.ac is the source of truth21:21:26

Show newer messages


Back to Room ListRoom Version: 6