!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

183 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-v59 Servers

Load older messages


SenderMessageTime
21 Jun 2025
@fgaz:matrix.orgfgaz
In reply to @alex:tunstall.xyz
Nixpkgs takes a fair bit of memory to evaluate.
I can't recall, but it's probably on the order of a few hundred MiB minimum.
I've seen some evals go beyond 1 GiB, though I think most cases aren't that large.
4 GB if you want to nix search 🫠
20:44:28
@alex:tunstall.xyzAlex^ Requires evaluating all of Nixpkgs lol20:44:43
@fgaz:matrix.orgfgaz
In reply to @alex:tunstall.xyz
^ Requires evaluating all of Nixpkgs lol
i'm still of the opinion that it doesn't need to and could do with a small fraction of that https://discourse.nixos.org/t/nix-search-a-faster-better-nix-search/48568/19
20:49:00
@alex:tunstall.xyzAlex It absolutely shouldn't need to (e.g. why not pre-evaluate it into a DB you can quickly search).
But it does.
20:49:50
@fgaz:matrix.orgfgazit does pre-eval on the first search you perform. but even that first search shouldn't require all that memory, see the post I linked above20:51:03
@fgaz:matrix.orgfgazor did you mean a downloadable db?20:51:39
@alex:tunstall.xyzAlex

It could be downloaded.
That's just an idea of one way of implementing it. There are probably others.

And yeah, I can imagine how it could be possible to trim a lot of the memory usage if you only evaluate the metadata you need and not the whole derivation graph.

21:05:24
@genericnerdyusername:matrix.orgGenericNerdyUsernamelike nix-index?21:15:22
22 Jun 2025
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) changed their display name from SomeoneSerge (UTC+U[-12,12]) to SomeoneSerge (Ever OOMed by Element).12:15:03
@steeringwheelrules:tchncs.desteeringwheelrules joined the room.13:27:25
@rosscomputerguy:matrix.orgTristan RossAfter a month, my VisionFive2 has finished building a graphical version of my config. It has COSMIC now and ssh should work.15:01:19
@rosscomputerguy:matrix.orgTristan RossIt also went from 25.05 to 25.1115:05:27
@dramforever:matrix.orgdramforeverMONTH16:53:27
@rosscomputerguy:matrix.orgTristan Ross
In reply to @dramforever:matrix.org
MONTH
Yes, it really took that long. It finished some time last night since it only had 30 derivations to finish.
17:05:48
23 Jun 2025
@rosscomputerguy:matrix.orgTristan RossHas anyone gotten graphics to work on the VisionFive2? I'm using the nixos-hardware module.05:33:20
@dramforever:matrix.orgdramforeverit doesn't work, the HDMI driver is not in mainline10:40:06
@dramforever:matrix.orgdramforever(yes, you've been using mainline linux on your vf2 this whole time)10:40:33
@rosscomputerguy:matrix.orgTristan Ross
In reply to @dramforever:matrix.org
it doesn't work, the HDMI driver is not in mainline
What about the fork? Would that work?
12:30:01
@alex:tunstall.xyzAlex
In reply to @rosscomputerguy:matrix.org
What about the fork? Would that work?
If you mean the vendor's branch, in my experience no.
(The "upstream" branch runs into a kernel panic on boot when HDMI is connected. The "dev" branch is a nightmare to compile.)
13:23:44
@rosscomputerguy:matrix.orgTristan Ross
In reply to @alex:tunstall.xyz
If you mean the vendor's branch, in my experience no.
(The "upstream" branch runs into a kernel panic on boot when HDMI is connected. The "dev" branch is a nightmare to compile.)
Oh, that's cursed
13:50:10
25 Jun 2025
@craigbro:matrix.orgcraigbro joined the room.02:14:57
@craigbro:matrix.orgcraigbrogreetings. I just install nix using the project installer on my orangepi rv2 running ubuntu.02:22:17
@craigbro:matrix.orgcraigbro* greetings. I just installed nix using the project installer on my orangepi rv2 running ubuntu.02:22:25
@craigbro:matrix.orgcraigbrothanks for all the work to get it working this far02:22:47
@dramforever:matrix.orgdramforeverjust have to go full nixos now02:23:19
@dramforever:matrix.orgdramforever(i don't know if there's anything ready for that)02:23:32
@craigbro:matrix.orgcraigbro

craig@orangepirv2:/etc/nix$ nix shell nixpkgs#cowsay -c cowsay "It Works!"


< It Works! >

    \   ^__^
     \  (oo)\_______
        (__)\       )\/\
            ||----w |
            ||     ||
02:26:47
@craigbro:matrix.orgcraigbroso the binary caches listed on the wiki page run just fine. However, until I added them, I consistenty got a segfault patching libpcre while building bootstrap-tools (on every branch/tag/release I tried)02:27:44
@dramforever:matrix.orgdramforever whwat does cat /proc/cpuinfo say 02:28:22
@dramforever:matrix.orgdramforeverjust, the first core02:28:30

Show newer messages


Back to Room ListRoom Version: 10