Nix Rust | 670 Members | |
| Rust | 154 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Dec 2021 | ||
| 13:53:28 | ||
Hi guys. I have been working on a patch for naersk and looking for some feedback. It is based on #167 and uses the additional information provided to only include crates in git-deps that are actually required. | 13:58:11 | |
| 26 Dec 2021 | ||
| 20:57:34 | ||
| 27 Dec 2021 | ||
| 06:44:43 | ||
| 29 Dec 2021 | ||
| 03:59:59 | ||
| 30 Dec 2021 | ||
| 10:22:15 | ||
| 31 Dec 2021 | ||
| 23:11:08 | ||
| 5 Jan 2022 | ||
| 12:07:12 | ||
| 11 Jan 2022 | ||
| 21:23:07 | ||
| 18 Jan 2022 | ||
| 03:36:00 | ||
| 20 Jan 2022 | ||
| 00:12:37 | ||
| 22 Jan 2022 | ||
| NixOS beginner here. I need to build a Rust crate (https://github.com/paritytech/substrate-contracts-node) that depends on Clang. I keep running into:
I've tried adding some packages to Home Manager ( I also did a brief google search but I'm quite confused about how to go about this. | 20:08:04 | |
| * NixOS beginner here. I need to build a Rust crate (https://github.com/paritytech/substrate-contracts-node) that depends on Clang. I keep running into:
I've tried adding some packages to Home Manager ( I also did a brief google search but I'm quite confused about how to go about this. | 20:08:26 | |
| LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; | 20:12:17 | |
In reply to @mikroskeem:d0.eeI saw this suggestion during my Google search, but I couldn't figure out which file to add this line to. I tried adding it to the same file where my Home Manager definitions are with no success. | 20:13:59 | |
In reply to @bernardo:matrix.parity.ioIt's best to have a separate shell environment for each project, and you can add this in your mkShell | 20:15:26 | |
| ^ | 20:16:10 | |
hmm ok so I should write a shell.nix file for this specific project? | 20:16:21 | |
| yes, or flake.nix preferably | 20:16:31 | |
| & echo use flake > .envrc | 20:16:41 | |
| gotcha... thanks guys! | 20:17:04 | |
| https://github.com/ZentriaMC/neard-nix/blob/master/default.nix | 20:17:15 | |
| and of course flake.nix there | 20:20:51 | |
| 23 Jan 2022 | ||
| I'm using this applied at the root of this project: https://github.com/paritytech/substrate-contracts-node I executed and now I'm running into:
I'm guessing there's something missing on the | 01:31:47 | |
What does rustc --version show? | 01:33:19 | |
In reply to @zhaofeng:zhaofeng.lirustc 1.57.0-nightly (497ee321a 2021-09-09) | 01:33:38 | |
In reply to @zhaofeng:zhaofeng.li* rustc 1.57.0-nightly (497ee321a 2021-09-09) | 01:34:27 | |
| Hmm, that feature should exist in that version of nightly (it was removed a month later, which should cause it to complain that the feature is non-existent). Where is that in the code? | 01:36:15 | |
In reply to @zhaofeng:zhaofeng.li
| 01:37:15 | |
| Ok, try a newer nightly version where this has already stabilized | 01:39:16 | |