Sender | Message | Time |
---|---|---|
20 Dec 2024 | ||
Any (they/any) | cargo install spl-token-cli | 14:02:27 |
Any (they/any) | but i get errors like install pkg-config, install libudev, etc | 14:03:04 |
Any (they/any) | i mean, install, but after i install i just get erros from those | 14:03:25 |
Any (they/any) | or, cargo doesn't see it | 14:03:47 |
Morj | I'm surprised the install works then. You should follow instructions from here to package it: https://wiki.nixos.org/wiki/Rust#Packaging_Rust_projects_with_nix - and don't forget to add all those system libs it requires as buildInputs | 14:04:27 |
Morj | "Instructions" is a big word for this page, but basically you'll need to package it yourself. I don't have any packaging guides on hand | 14:05:08 |
Morj | * "Instructions" is a big word for this page, but basically you'll need to package it yourself. I don't have any packaging guides on hand, try looking for a tutorial of packaging something in nix | 14:05:30 |
Any (they/any) | there's that https://github.com/NixOS/nixpkgs/pull/359834 | 14:05:47 |
Any (they/any) | how would i use it? | 14:05:57 |
Morj | Ah well then it's easy: download the default.nix file from this MR, and install it with nix-env --install --file the-downloaded-derivation.nix . See here: https://nix.dev/manual/nix/2.18/command-ref/nix-env/install | 14:07:37 |
Morj | Seeing as the MR was closed, this might not work with some build errors ;-) | 14:08:41 |
Morj | * Seeing as the MR was closed, this might not work with some build errors. In this case go back to the step where you have to learn to package programs ;-) | 14:09:04 |
Any (they/any) | i already tried it before, i get:
| 14:09:51 |
Morj | Ah right, the nixpkgs style. Make a file build.nix with contents like: and install from it.More info here: https://summer.nixos.org/blog/callpackage-a-tool-for-the-lazy/ | 14:12:44 |
Morj | Ah right, the nixpkgs style. Make a file build.nix with contents like: and install from it.More info here: https://summer.nixos.org/blog/callpackage-a-tool-for-the-lazy/ | 14:12:59 |
21 Dec 2024 | ||
Any (they/any) | okkk, it took so much time to build | 04:53:49 |
Any (they/any) |
| 04:53:54 |
@stablejoy:matrix.org left the room. | 05:08:16 | |
Any (they/any) | Like that 😄 | 09:34:55 |
22 Dec 2024 | ||
anji joined the room. | 00:13:47 | |
anji | Hey. I'm new to Nix. And I'm a little confused about https://nixos.wiki/wiki/Rust Is this advice out of date? Why wouldn't I just add cargo and rustc to my environment.systemPackages ? .. rustc on search.nixos.org is listed at 1.82 which is only barely behind the latest at 1.83. Seems fine for my purposes... | 00:16:57 |
Any (they/any) | In reply to @anjix:matrix.orgA couple of years outdated | 02:15:32 |
aktaboot | In reply to @anjix:matrix.orgyou want to go to wiki..nixos.org instead https://wiki.nixos.org/wiki/Rust | 07:13:32 |
Ralith | why's the old wiki still up? | 21:48:32 |
antifuchs | Domain’s not controlled by the nix org, and the person running it doesn’t want to give it up is the short story iirc | 22:13:00 |
Ralith | that seems short-sighted of them; shame. | 22:20:40 |
antifuchs | It’s an annoying situation for sure. The official wiki is relatively new, so hopefully activity on it will supplant the older site on search engines eventually | 22:23:41 |
labataxe joined the room. | 23:05:51 | |
24 Dec 2024 | ||
João Moreira joined the room. | 20:53:57 | |
522 | also note: there's a userscript to redirect you automatically https://greasyfork.org/en/scripts/495011-redirect-to-wiki-nixos-org | 23:29:37 |