| 17 May 2022 |
matthewcroughan - nix.how | right, so why can't you reproduce that? | 19:36:28 |
matthewcroughan - nix.how | what's missing? | 19:36:49 |
qbit | nothing, those will make the older version build - but then nothing is usable because there isn't an openbsd stdenv :P | 19:38:30 |
qbit | newer versinos of nix fail in different ways | 19:38:37 |
qbit | and making stdenv work is a task I don't have time to take on | 19:46:59 |
qbit | maybe I will once the kiddo is older, time will tell | 19:50:34 |
| 18 May 2022 |
| marius851000 joined the room. | 19:24:04 |
| marius851000 set a profile picture. | 19:42:00 |
| 19 May 2022 |
| comrandroxaos joined the room. | 15:46:39 |
comrandroxaos | In reply to @qbit:tapenet.org well ya can't run nix if it doesn't build :P unless of course you pass --faster to build | 15:48:06 |
| * comrandroxaos didn't realize you were talking about bsd nix impurity lol | 15:54:24 |
comrandroxaos | at least the days of darwin awards for impurity are apparently long gone | 15:55:01 |
qbit | heh | 16:00:53 |
| 20 May 2022 |
Alyssa Ross | Noticed that we were building the wrong stdenvs on Hydra for RISC-V embedded: https://github.com/NixOS/nixpkgs/pull/173784 | 15:24:14 |
| Leon joined the room. | 17:59:49 |
| 21 May 2022 |
Leon | It appears that the riscv32-embedded crossSystem's gcc appears to build a hard-float libgcc by default, which seems a little weird to me. We don't set anything in that system definition explicitly, but setting something like gcc = { arch = "rv32i"; abi = "ilp32"; }; is sufficient to convince it to build a soft-float libgcc. | 11:10:46 |
Leon | (Note that the compiler is still able to target all of the different RISC-V extensions, this is only concerning the prebuilt libgcc | 11:11:31 |
Leon | * (Note that the compiler is still able to target all of the different RISC-V extensions, this is only concerning the prebuilt libgcc) | 11:11:34 |
Leon | Would it perhaps make sense to use soft-float for riscv32-embedded by default? I think that hard-float isn't particularly prevalent on the RISC-V microcontrollers / platforms I know and it might make sense to optimize the default target for maximized compatibility? | 11:12:25 |
Leon | (Given that for ARM we have both arm-embedded and armhf-embedded, for instance) | 11:13:36 |
Leon | * It appears that the riscv32-embedded crossSystem's gcc is built with a hard-float libgcc by default, which seems a little weird to me. We don't set anything in that system definition explicitly, but setting something like gcc = { arch = "rv32i"; abi = "ilp32"; }; is sufficient to convince it to build a soft-float libgcc. | 11:13:59 |
| 23 May 2022 |
j-k | Just building a fresh sd image for visionfive, I'm guessing for the ZFS broken warning just NIXPKGS_ALLOW_BROKEN=1? | 13:11:24 |
Linux Hackerman | In reply to @j-k:matrix.org Just building a fresh sd image for visionfive, I'm guessing for the ZFS broken warning just NIXPKGS_ALLOW_BROKEN=1? It's likely to genuinely not work. Are you using linuxPackages_latest? | 18:30:40 |
Linux Hackerman | There's an attr in zfs called latestSupportedLinuxPackages or something, try setting boot.kernelPackages to that. If that's too old to support the hardware, I think you'll have to do without zfs for now | 18:32:01 |
j-k | I'm just building https://github.com/zhaofengli/nixos-riscv64/blob/master/pkgs/default.nix#L24 | 18:32:46 |
j-k | it mentions zfs here but IDK if it's actually used at all in the sd card image
https://github.com/zhaofengli/nixos-riscv64/blob/f0b105b7671289c3fc17849532afe4fceb95bfd6/binary-cache/world.nix#L38 | 18:33:13 |
Zhaofeng Li | Yeah, I'm passing NIXPKGS_ALLOW_BROKEN=1. ZFS is pulled in by the installation image profile and was marked broken for 5.16 back then. | 18:37:06 |
Zhaofeng Li | But I don't recommend building my branch right now, probably try https://github.com/NixOS/nixpkgs/pull/168826 | 18:38:47 |
Zhaofeng Li | * But I don't recommend building my branch right now, probably try https://github.com/NixOS/nixpkgs/pull/168826 to be more up-to-date | 18:39:05 |
j-k | well I'm a couple hours into building so maybe I'll just hang in there 😅 Do you recommend binfmt or crosscompile?
Also I manually tweaked the config to have ssh and my public key so I'm hoping I can just ssh in headless first try 🤞we'll see | 20:49:47 |