Nix Rust | 681 Members | |
| Rust | 154 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Apr 2025 | ||
In reply to @9hp71n:matrix.orgi already deleted build.rs and then it fails because there was no wasm output | 12:56:46 | |
and patching it to remove the check, i dont think will work, its just going to run cargo on the real wasm project, and then fail the same as dummy-crate | 12:57:15 | |
What is the best way to reference release/target/x86_64-unknown-linux-gnu/release/ in the checkPhase for instance? | 13:27:45 | |
| Is there a shell variable containing this? | 13:27:53 | |
| There is a variable for the system part | 13:39:58 | |
In reply to @k900:0upti.me Cannot compile the WASM runtime: no standard library sources found at /nix/store/0rn3apgrjdqrq6zpqsrh5b8dmlxbci42-rustc-1.85.0/lib/rustlib/src/rust!i gave it an ldd, and now it cant find the standard library | 13:48:05 | |
In reply to @qyliss:fairydust.spaceI ended up using cargoInstallHook.targetSubdirectory | 14:03:35 | |
| https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ra/rav1d/package.nix#L38-L49 | 14:03:37 | |
| 14:09:34 | |
| and yet, the path it gave, does have wasm32!? | 14:09:52 | |
*
| 14:10:03 | |
| ah wait, it wants the SOURCE for wasm32! | 14:11:34 | |
| K900: any ideas? | 14:14:40 | |
| It should be the same source always | 14:14:53 | |
ls: cannot access '/nix/store/0rn3apgrjdqrq6zpqsrh5b8dmlxbci42-rustc-1.85.0/lib/rustlib/src/rust': No such file or directory | 14:15:09 | |
| its looking in here for wasm32 | 14:15:14 | |
but its only in $out//lib/rustlib/wasm32-unknown-unknown/ | 14:15:32 | |
| in a pre-compiled form | 14:15:37 | |
| Why does it need source? | 14:18:09 | |
In reply to @qyliss:fairydust.space no idea, but thats what the error said:
| 16:24:57 | |
| 10 Apr 2025 | ||
| 14:46:14 | ||
| 17:00:07 | ||
| It seems that https://github.com/nix-community/fenix.git does not have the current rust stable version 1.86.0. Is there a workaround to get rust 1.86.0 with fenix ? | 19:20:12 | |
| It should presumably update after the fix that was just merged | 19:22:06 | |
| I have looked at the last commit, it seems to have fixed some vscode problem. I didn't see a change for updating to 1.86.0 (I am very new to nix, so I'm not sure). In the issues page there is a call for a new maintainer. | 19:34:45 | |
| That change fixes the automatic CI workflow | 19:39:36 | |
| That updates the Rust versions | 19:39:40 | |
| 11 Apr 2025 | ||
| 07:48:32 | ||
| Hey, I would like to package my first Rust project to Nixpkgs, but there are flaky test when tests are ran by the checkphase within Nix. | 07:49:50 | |
| You can see the package here: https://github.com/NixOS/nixpkgs/pull/397142/commits/dccd2f8cf6e64985393fb6f04ee2d12c763af0a8 | 07:50:31 | |