| 21 Jan 2025 |
Alex | Can you characterise what's wrong with the newer versions? | 17:12:56 |
misuzu | I've finally moved my attic instance to my unused minisforum minipc with 64g ram and 4tb ssd and set up a hydra instance which builds for riscv64 (native and cross) | 21:08:27 |
misuzu | https://hydra.ztier.in/project/nixpkgs | 21:08:40 |
| 22 Jan 2025 |
| @blitz:chat.x86.lol left the room. | 10:52:22 |
| 21 Jan 2025 |
| oak changed their profile picture. | 22:34:55 |
| 22 Jan 2025 |
| emily 🐾 changed their profile picture. | 12:34:10 |
| 21 Jan 2025 |
| oak changed their profile picture. | 22:36:48 |
| 23 Jan 2025 |
misuzu | https://github.com/misuzu/nixos-vf2/releases/tag/0.8 | 10:43:33 |
| 25 Jan 2025 |
| Dennis joined the room. | 19:58:37 |
Dennis | Hi! Is there a "standard" way to get a complete cross-compilation toolchain for riscv64-unknown-linux-gnu? Some pkgs.* that I can put into environment.systemPackages and get the basic tools I'll probably need? (From Gentoo I'm used to sys-devel/crossdev that would install these tools for me. But maybe the approach would be different on NixOS?) | 20:51:27 |
Alex | In reply to @devurandom:matrix.org Hi! Is there a "standard" way to get a complete cross-compilation toolchain for riscv64-unknown-linux-gnu? Some pkgs.* that I can put into environment.systemPackages and get the basic tools I'll probably need? (From Gentoo I'm used to sys-devel/crossdev that would install these tools for me. But maybe the approach would be different on NixOS?) pkgsCross.riscv64.buildPlatform.stdenv sounds like what you're looking for. | 20:52:29 |
Alex | * pkgsCross.riscv64.buildPackages.stdenv sounds like what you're looking for. | 20:52:42 |
Alex | (FYI: I mistyped buildPlatform instead of buildPackages) | 20:53:38 |
Dennis | Can I get a list of these pkgsCross? I saw that mentioned elsewhere (for a specific binary), but could find it on https://search.nixos.org/packages, and I am still regularly struggling to find anything in https://github.com/NixOS/nixpkgs/. | 20:56:27 |
Alex | The easiest way of exploring them is probably to use the Nix REPL.
Run nix repl '<nixpkgs>' then type pkgsCross and press tab. | 20:57:53 |
Alex | Btw you probably shouldn't be installing dev tools in environment.systemPackages.
It's generally preferred to write a project-specific shell.nix file (or use nix-shell without one, e.g. nix-shell -p pkgsCross.riscv64.buildPackages.stdenv). | 21:00:11 |
Dennis | Thanks! I'll try that. I am still very new to using Nix/NixOS for anything other than managing my physical system... | 21:47:40 |
| 26 Jan 2025 |
Tristan Ross | 17 derivations to go until NixOS native RISC-V. | 04:30:29 |
Tristan Ross | It's done. After a month, I have NixOS built natively for RISC-V. | 20:40:10 |
| 27 Jan 2025 |
Mel | In reply to @alex:tunstall.xyz Can you characterise what's wrong with the newer versions? oh sry i didnt see anyone replied ^^; i was just looking for resources if someone had actually done it, maybe i missed something meow .. | 01:01:20 |
Mel | ill get back to the th chips later maybe ill have some specific problems again, right now im back to the starfives lol :3 | 01:01:58 |
Mel | In reply to @rosscomputerguy:matrix.org It's done. After a month, I have NixOS built natively for RISC-V. oh hell yea!! do u have ur configuration public somewhere ? ive been trying to do something similar recently meow!! | 01:02:59 |
Tristan Ross | In reply to @mel:rnrd.eu oh hell yea!! do u have ur configuration public somewhere ? ive been trying to do something similar recently meow!! https://github.com/RossComputerGuy/dotfiles | 01:03:28 |
Tristan Ross | .File descriptor 3 (/nix/store/58jvk2n6gfri2j7gkndzfqvn2xm617ms-initrd-fsinfo) leaked on lvm invocation. Parent PID 1: /nix/store/4nc7aajxlpclfb1gx0hp5d1kswdjprb3-extra-utilsh
File descriptor 8 (/dev/console) leaked on lvm invocation. Parent PID 1: /nix/store/4nc7aajxlpclfb1gx0hp5d1kswdjprb3-extra-utils/bin/ash
File descriptor 9 (/dev/console) leaked on lvm invocation. Parent PID 1: /nix/store/4nc7aajxlpclfb1gx0hp5d1kswdjprb3-extra-utils/bin/ash
Fails to boot
| 02:01:13 |
Tristan Ross | Timed out waiting for device /dev/nvme0n1p2, trying to mount anyway.
mounting /dev/nvme0n1p2 on /...
[ 43.288631] /dev/nvme0n1p2: Can't lookup blockdev
mount: mounting /dev/nvme0n1p2 on /mnt-root/ failed: No such file or directory
An error occurred in stage 1 of the boot process, which must mount the
root filesystem on `/mnt-root' and then start stage 2. Press one
of the following keys:
i) to launch an interactive shell
f) to start an interactive shell having pid 1 (needed if you want to
start stage 2's init manually)
r) to reboot immediately
*) to ignore the error and continue
f
Hmm, this is taking awhile
| 02:06:12 |
Tristan Ross | loading module pcie-starfive...
[ 3.350504] pcie-starfive 2b000000.pcie: error -ENODEV: failed to get valid pcie domain
[ 3.358768] pcie-starfive 2c000000.pcie: error -ENODEV: failed to get valid pcie domain
This seems to be a problem
| 04:57:10 |
liberodark | Hi, I want to install nixos on VisionFive 2 for make build. | 12:12:20 |
liberodark | * Hi, I want to install nixos on VisionFive 2 for make builder. | 12:12:27 |
liberodark | You have a way for that ? | 12:12:41 |
liberodark | Or i need to use debian for build inside with nix ? | 12:16:34 |