10 May 2024 |
rhelmot | give me a day to build it | 22:50:40 |
rhelmot | ty for poking holes in my shit | 22:51:00 |
John Ericson | haha I think "poking holes" is too strong | 22:53:12 |
John Ericson | also I look forward to CA derivations meaning we don't need any cleverness here :) | 22:53:27 |
11 May 2024 |
| EVA-01 changed their display name from TAUPHI MORPHO to tauphi. | 06:14:25 |
Alyssa Ross | Does anybody do native NixOS builds on any of these architectures? https://github.com/NixOS/nixpkgs/pull/308801#issuecomment-2105609075 If so please make yourself known before it becomes no longer possible to do that! | 08:38:18 |
hexa | [
"armv5tel-linux"
"armv7a-linux"
"m68k-linux"
"microblaze-linux"
"microblazeel-linux"
"mips-linux"
"mips64-linux"
"mips64el-linux"
"mipsel-linux"
"riscv32-linux"
"s390-linux"
]
| 10:55:38 |
trofi | My guess would be that none of them are usable natively today | 18:59:49 |
12 May 2024 |
John Ericson | $ nix-shell -A pkgsCross.x86_64-openbsd.llvmPackages_17.libcxx --show-trace --keep-failed
[nix-shell:~/src/nixpkgs-master]$ $CC --rtlib=compiler-rt -print-libgcc-file-name
/usr/lib/libcompiler_rt.a
$ nix-shell -A pkgsCross.x86_64-freebsd.llvmPackages_17.libcxx --show-trace --keep-failed
[nix-shell:~/src/nixpkgs-master]$ $CC --rtlib=compiler-rt -print-libgcc-file-name
/nix/store/kgddmyqsak19cx54lwcj7l10b109gxgs-x86_64-unknown-freebsd-clang-wrapper-17.0.6/resource-root/lib/freebsd/libclang_rt.builtins-x86_64.a
| 04:45:28 |
John Ericson | pop quiz: why are these different? | 04:45:34 |
John Ericson | Answer: OpenBSD::getCompilerRT in clang/lib/Driver/ToolChains/OpenBSD.cpp | 04:46:03 |
John Ericson | LLVM doing per distro hacks coded as per target is so frustrating/dissapointing | 04:46:42 |
| aliabrar joined the room. | 04:47:03 |
John Ericson | everyone hacking around everyone else's ideosyncrasies is not how we make the world simpler and nicer | 04:47:42 |
John Ericson | * everyone hacking around everyone else's ideosyncrasies with more ad-hoc special cases is not how we make the world simpler and nicer | 04:47:51 |
trofi | but it's not a libgcc file! :) | 13:55:21 |
13 May 2024 |
Mic92 | How can I build a nix-shell that can run on the hostplatform, but is cross compiled? | 16:07:25 |
Mic92 | let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/af8b9db5c00f1a8e4b83578acc578ff7d823b786.tar.gz"; # nixpkgs-unstable
pkgs = import nixpkgs { crossSystem = { config = "riscv64-unknown-linux-musl"; }; };
in
pkgs.pkgsHostTarget.mkShell.override { stdenv = pkgs.pkgsHostTarget.clangStdenv; } {
packages = [];
}
| 16:07:26 |
Mic92 | That still seems to give me the build platform? | 16:07:43 |
Mic92 | Looks like I can just "cross-compile" on the same architecture. | 16:14:04 |
Alyssa Ross | you should get that by default | 16:17:09 |
14 May 2024 |
| chrillefkrr joined the room. | 15:41:55 |
15 May 2024 |
Sam Lehman | Has anyone build Rust crates (or any Nix package) for the Nintendo Switch? | 21:34:14 |
16 May 2024 |
John Ericson | Alyssa Ross: Think we've got everything you mentioned for https://github.com/NixOS/nixpkgs/pull/311836 ! | 16:05:14 |
John Ericson | truth be told, we're still trying to get something that OpenBSD actually runs | 16:05:30 |
John Ericson | but I think it is good to merge now, anyways | 16:06:00 |
John Ericson | (good basis for collaboration, good to get the small generalizations that impact the other BSDs in) | 16:06:36 |
Alyssa Ross | Yeah makes sense | 18:30:46 |
Alyssa Ross | Might not be able to look again tonight, but it was a nice easy review last time so I should get to it soon. | 18:31:32 |
19 May 2024 |
| @kfears:matrix.org changed their display name from KFears (filler human) to KFears (tragedy arc). | 13:39:41 |