!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

241 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 74 Servers

Load older messages


SenderMessageTime
10 Aug 2024
@rosscomputerguy:matrix.orgTristan Ross
In reply to @vixea:matrix.org
Hello I don't use nix but a tool I'm going to be using does and I need to add the RISC-V Repository bow would one do that
You'd have to add riscv64-linux to the flake.nix
22:18:55
@vixea:matrix.orgvixeaOf course I've already done thst22:19:17
@vixea:matrix.orgvixeaStill fails with complaining about things not being flakes22:19:51
@rosscomputerguy:matrix.orgTristan Ross🤔22:20:46
@rosscomputerguy:matrix.orgTristan RossWhat error?22:20:53
@vixea:matrix.orgvixeaddc7a04b-e832-4e23-b859-0fed778e9f28
Download ddc7a04b-e832-4e23-b859-0fed778e9f28
22:21:50
@rosscomputerguy:matrix.orgTristan Ross
In reply to @vixea:matrix.org
sent an image.
You don't have a flake.nix added to git? Also, looks off topic for this chat.
22:27:24
@vixea:matrix.orgvixea
In reply to @rosscomputerguy:matrix.org
You don't have a flake.nix added to git? Also, looks off topic for this chat.
Wdym?
22:28:14
@rosscomputerguy:matrix.orgTristan Ross
In reply to @vixea:matrix.org
Wdym?
Did you git add flake.nix? Or is this repo the prism launch repo?
22:29:57
@vixea:matrix.orgvixeaThe meta repo22:30:17
@vixea:matrix.orgvixeaIts just a straight git clone nothing else other than making the scripts runnable22:30:48
@vixea:matrix.orgvixeaAnd well adding the riscv nix repos22:32:27
@rosscomputerguy:matrix.orgTristan RossWhat did you add in specifically?22:39:57
@vixea:matrix.orgvixeaPXL_20240810_224132963.jpg
Download PXL_20240810_224132963.jpg
22:41:49
@rosscomputerguy:matrix.orgTristan RossI can't read that on mobile, could you send text in a code block?22:45:42
@vixea:matrix.orgvixea
systems = [
 "riscv64-linux"
];

Basically

22:50:29
@vixea:matrix.orgvixea
In reply to @rosscomputerguy:matrix.org
I can't read that on mobile, could you send text in a code block?
You do know you can zoom in
22:50:48
@rosscomputerguy:matrix.orgTristan RossYeah but compression.23:03:37
@rosscomputerguy:matrix.orgTristan RossI don't really understand how you're running into that error. It should work. You'll probably have better luck asking in the NixOS/Nix chat since this error isn't really RISC-V specific.23:10:33
11 Aug 2024
@lordkekz:matrix.orgLordKekz vixea the error in your photos seems to be from flake-parts (a library which is used by prism launcher's flake.nix) Note that the error referred to `inputs` and `inputs'`, the latter is a flake-parts concept AFAIK. A GitHub search led me to this line: https://github.com/hercules-ci/flake-parts/blob/main/modules%2FperSystem.nix#L105 I don't have much experience with flake-parts tho, but maybe this helps point you in the right direction. Maybe there's just some input that doesn't have a riscv64 attribute in its outputs? 00:40:54
@lordkekz:matrix.orgLordKekz set a profile picture.18:06:15
@lordkekz:matrix.orgLordKekz changed their profile picture.18:06:22
@lordkekz:matrix.orgLordKekz changed their display name from Heinrich to LordKekz.18:07:11
13 Aug 2024
@vixea:matrix.orgvixea
In reply to @lordkekz:matrix.org
vixea the error in your photos seems to be from flake-parts (a library which is used by prism launcher's flake.nix) Note that the error referred to `inputs` and `inputs'`, the latter is a flake-parts concept AFAIK. A GitHub search led me to this line: https://github.com/hercules-ci/flake-parts/blob/main/modules%2FperSystem.nix#L105 I don't have much experience with flake-parts tho, but maybe this helps point you in the right direction. Maybe there's just some input that doesn't have a riscv64 attribute in its outputs?
How would I search for ported packages as well the nixpkg website doesn't show that
18:08:45
@lordkekz:matrix.orgLordKekz

You can use the nix search command like so:

nix search nixpkgs#legacyPackages.riscv64-linux ^hello$

The command will evaluate nixpkgs's legacyPackages.riscv64-linux output and search for attributes containing the regular expression ^hello$. Packages that aren't available vor RISC-V probably just won't show up.

22:58:56
@lordkekz:matrix.orgLordKekz *

You can use the nix search command like so:

nix search nixpkgs#legacyPackages.riscv64-linux ^hello$

The command will evaluate nixpkgs's legacyPackages.riscv64-linux output and search for attributes containing the regular expression ^hello$. Packages that aren't available vor RISC-V probably just won't show up.

22:59:02
@lordkekz:matrix.orgLordKekz *

You can use the nix search command like so:

nix search nixpkgs#legacyPackages.riscv64-linux ^hello$

The command will evaluate nixpkgs's legacyPackages.riscv64-linux output and search for attributes containing the regular expression ^hello$. Packages that aren't available vor RISC-V probably just won't show up.

22:59:13
@lordkekz:matrix.orgLordKekz *

You can use the nix search command like so:

nix search nixpkgs#legacyPackages.riscv64-linux ^hello$

The command will evaluate nixpkgs's legacyPackages.riscv64-linux output and search for attributes containing the regular expression ^hello$. Packages that aren't available vor RISC-V probably just won't show up.

22:59:18
@lordkekz:matrix.orgLordKekz *

You can use the nix search command like so:

nix search nixpkgs#legacyPackages.riscv64-linux ^hello$

The command will evaluate nixpkgs's legacyPackages.riscv64-linux output and search for attributes containing the regular expression ^hello$. Packages that aren't available vor RISC-V probably just won't show up.

22:59:32
16 Aug 2024
@dramforever:matrix.orgdramforever
In reply to @vixea:matrix.org
How would I search for ported packages as well the nixpkg website doesn't show that
i know this is super late but there's no "risc-v repository" or "ported packages". when you grab something from nixpkgs it tries to get it from any substituters you set up or, if it's not there, it builds it
05:08:01

Show newer messages


Back to Room ListRoom Version: 10