10 May 2024 |
John Ericson | rhelmot: there is a nixfmt-rfc-style package in nixpkgs | 22:34:48 |
John Ericson | you can build that and run it on the subdir | 22:34:56 |
John Ericson | also, in other news, I am getting close to having OpenBSD cross working :) | 22:35:11 |
John Ericson | without any tools/compat , need to use other BSD tools and cross fingers hehe | 22:35:33 |
John Ericson | rhelmot: my only question about the unified patched source tree is whether that means patching any package will cause rebuilds all of them? | 22:39:20 |
John Ericson | but I think that is just me misunderstanding what you did | 22:39:29 |
rhelmot | yes, I believe the answer is yes | 22:45:40 |
rhelmot | I can think of a way to simplify this (we can filter the patches by whether they are for a relevant file in the filtered source and then apply them) but... that seems complicated. do you think it's worth it? | 22:47:30 |
John Ericson | rhelmot: how often do we need to apply the same patch for more than one package? | 22:49:06 |
rhelmot | rarely | 22:49:13 |
John Ericson | if the answer is basically never we could have a dir of dirs per package? | 22:49:22 |
John Ericson | and then just collect all the patches in each subdir? | 22:49:29 |
John Ericson | and use that? | 22:49:31 |
John Ericson | (or was that your middle version?) | 22:49:39 |
rhelmot | actually I have a much better middle version | 22:50:34 |
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 |
| Li-ion 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 |