| 20 Oct 2021 |
sterni | I just was trying to reign myself in | 21:24:45 |
sterni | I should make this overly complicated for the sake of correctness | 21:24:55 |
sterni | Alyssa Ross: okay so armv7a-linux-androideabi is possible in theory | 21:31:33 |
sterni | configure.ac only strips version numbers from the kernel and gnu/musl suffixes it seems | 21:32:03 |
sterni | probably the best solution would be to be more lenient with the system tuple | 21:33:40 |
sterni | and use different flags for triple / tuple | 21:33:55 |
Alyssa Ross | i assumed different flags was out of the question | 21:39:52 |
Alyssa Ross | otherwise i can't imagine why you'd do it this way | 21:39:58 |
Alyssa Ross | how did this get to be LLVM anyway? | 21:40:18 |
sterni | cabal uses LLVM triples more or less | 21:40:53 |
sterni | This is the flag we have
--system ARG host system (in either short Nix format or full LLVM
style) to use when evaluating the Cabal file
(default: x86_64-linux)
| 21:41:16 |
sterni | whatever I do is gonna be a breaking change, but potentially only in edge cases | 21:42:27 |
sterni | I could fully embrace it and redo it, but it'd be annoying for users I suppose | 21:42:42 |
sterni | hmm seems like cabal-install/Cabal isn't dealing with triples/tuples very much | 21:48:58 |
sterni | GHC may be using llvm triples | 21:49:05 |
sterni | Cabal is very weird about this, e. g. it only has an interface for parsing triples, but will pretty print platforms as tuples | 21:49:38 |
sterni | is darwin or osx canonical for LLVM triples? | 21:51:22 |
| 21 Oct 2021 |
Alyssa Ross | sternenseemann: do you know where we map GNU triples to LLVM triples? | 09:38:37 |
Alyssa Ross | GNU and LLVM disagree about whether it should be wasm32-unknown-none or wasm32-unknown-unknown | 09:42:29 |
sterni | no, I'm not aware actually | 10:14:27 |
sterni | I may have to dive into this business now; I haven't dived into that topic to much so far, so I was kind of hoping for you answering here bc you are a lot more knowledgeable than me here | 10:15:12 |
| 22 Oct 2021 |
sterni | trofi: btw https://github.com/NixOS/nixpkgs/pull/87909 | 09:09:19 |
| 25 Oct 2021 |
sterni | I think this came up here: https://github.com/NixOS/nixpkgs/issues/142901 | 22:06:59 |
| 26 Oct 2021 |
| @grahamc:nixos.orgchanged room power levels. | 01:16:31 |
| NixOS Moderation Bot changed their display name from mjolnir to NixOS Moderation Bot. | 02:00:07 |
| NixOS Moderation Bot set a profile picture. | 02:00:25 |
| NixOS Moderation Bot changed their profile picture. | 02:23:38 |
| NixOS Moderation Bot changed their profile picture. | 02:33:08 |
| 27 Oct 2021 |
sterni | Alyssa Ross: another “fun” fact: nixpkgs passes hostPlatform.config (a GNU triple) to the flag which at most understands LLVM triples + some hacks for certain things | 16:20:43 |
sterni | :| | 16:20:44 |