!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

225 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v65 Servers

Load older messages


SenderMessageTime
17 Jan 2025
@mel:rnrd.euMel joined the room.15:59:29
20 Jan 2025
@snaki:kescher.at@snaki:kescher.at changed their display name from emily 🐾 to zemily 🐾.20:45:25
@snaki:kescher.at@snaki:kescher.at changed their display name from zemily 🐾 to emily 🐾.20:50:23
@mel:rnrd.euMelhi everyone meow :321:30:45
21 Jan 2025
@snaki:kescher.at@snaki:kescher.atwoof00:04:16
@emily:woof.ripemily 🐾 joined the room.00:40:45
@snaki:kescher.at@snaki:kescher.at left the room.00:40:55
@emily:woof.ripemily 🐾waff00:41:00
@mel:rnrd.euMelhi waff miau!!16:58:05
@mel:rnrd.euMelhas anyone managed to get a mainline kernel nix build through to working on a th1520 ?? best i can do is only 5.10 with patches so far17:03:16
@mel:rnrd.euMelgenerally finding the t-head chips soo much harder to work with than the starfive jh stuff meow17:04:17
@alex:tunstall.xyzAlexCan you characterise what's wrong with the newer versions?17:12:56
@misuzu:matrix.orgmisuzuI'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:matrix.orgmisuzuhttps://hydra.ztier.in/project/nixpkgs21:08:40
22 Jan 2025
@blitz:chat.x86.lol@blitz:chat.x86.lol left the room.10:52:22
21 Jan 2025
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.22:34:55
22 Jan 2025
@emily:woof.ripemily 🐾 changed their profile picture.12:34:10
21 Jan 2025
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.22:36:48
23 Jan 2025
@misuzu:matrix.orgmisuzuhttps://github.com/misuzu/nixos-vf2/releases/tag/0.810:43:33
25 Jan 2025
@devurandom:matrix.orgDennis joined the room.19:58:37
@devurandom:matrix.orgDennis 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:tunstall.xyzAlex
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:tunstall.xyzAlex * pkgsCross.riscv64.buildPackages.stdenv sounds like what you're looking for. 20:52:42
@alex:tunstall.xyzAlex (FYI: I mistyped buildPlatform instead of buildPackages) 20:53:38
@devurandom:matrix.orgDennis 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:tunstall.xyzAlex 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:tunstall.xyzAlex 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
@devurandom:matrix.orgDennisThanks! 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
@rosscomputerguy:matrix.orgTristan Ross17 derivations to go until NixOS native RISC-V.04:30:29
@rosscomputerguy:matrix.orgTristan Ross It's done. After a month, I have NixOS built natively for RISC-V. 20:40:10

Show newer messages


Back to Room ListRoom Version: 10