| 10 Aug 2024 |
| Tristan Ross changed their profile picture. | 03:13:16 |
| arichtman joined the room. | 09:29:30 |
| vixea joined the room. | 22:08:34 |
vixea | 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 | 22:10:32 |
vixea | https://github.com/PrismLauncher/meta/blob/main/flake.nix | 22:15:01 |
Tristan 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 | Of course I've already done thst | 22:19:17 |
vixea | Still fails with complaining about things not being flakes | 22:19:51 |
Tristan Ross | 🤔 | 22:20:46 |
Tristan Ross | What error? | 22:20:53 |
vixea |  Download ddc7a04b-e832-4e23-b859-0fed778e9f28 | 22:21:50 |
Tristan 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 | 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 |
Tristan 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 | The meta repo | 22:30:17 |
vixea | Its just a straight git clone nothing else other than making the scripts runnable | 22:30:48 |
vixea | And well adding the riscv nix repos | 22:32:27 |
Tristan Ross | What did you add in specifically? | 22:39:57 |
vixea |  Download PXL_20240810_224132963.jpg | 22:41:49 |
Tristan Ross | I can't read that on mobile, could you send text in a code block? | 22:45:42 |
vixea | systems = [
"riscv64-linux"
];
Basically
| 22:50:29 |
vixea | 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 |
Tristan Ross | Yeah but compression. | 23:03:37 |
Tristan Ross | I 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 | 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 set a profile picture. | 18:06:15 |
| LordKekz changed their profile picture. | 18:06:22 |
| LordKekz changed their display name from Heinrich to LordKekz. | 18:07:11 |
| 13 Aug 2024 |
vixea | 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 | 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 |