| 9 Apr 2025 |
Gaétan Lepage | In reply to @qyliss:fairydust.space There is a variable for the system part I ended up using cargoInstallHook.targetSubdirectory | 14:03:35 |
Gaétan Lepage | https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ra/rav1d/package.nix#L38-L49 | 14:03:37 |
cleverca22 | [clever@thinkpad:~/iohk/midnight-node]$ ls /nix/store/0rn3apgrjdqrq6zpqsrh5b8dmlxbci42-rustc-1.85.0/lib/rustlib/wasm32-unknown-unknown/lib/
libaddr2line-75d3d0c5981cd211.rlib libcore-c8e3d79b493aee7a.rlib liblibc-279616ba3aa6b6b5.rlib libpanic_unwind-5bf15f6e79874620.rlib librustc_std_workspace_core-20597a32dbe324b7.rlib libtest-72b3932de24c9224.rlib
libadler-7915b69899d8f62d.rlib libdlmalloc-82297a628a89729a.rlib libmemchr-12d9c02ac2b46e93.rlib libproc_macro-604f5a1a5a3487e6.rlib librustc_std_workspace_std-3fb1821d50d1a00e.rlib libunicode_width-f19aa74aa999edec.rlib
liballoc-a55cb6cdcc7074cd.rlib libgetopts-4c1c3c48cdd30e1d.rlib libminiz_oxide-b4d4129edfbbc22f.rlib libprofiler_builtins-69ea14db5fb2290e.rlib libstd-4e586b256d6eead5.rlib libunwind-610f019430ca2de2.rlib
libcfg_if-57ac834c4abeb545.rlib libgimli-10b471aa877c9dcc.rlib libobject-4bbfa37031017b9f.rlib librustc_demangle-d987a56c328827e5.rlib libstd_detect-cf3cdd655689b063.rlib
libcompiler_builtins-9bfd52bc78369877.rlib libhashbrown-06aa1b00a4ac11fb.rlib libpanic_abort-91efa2f4e3051c3f.rlib librustc_std_workspace_alloc-5894bc93779fa041.rlib libsysroot-bcec41c60c9f169c.rlib
| 14:09:34 |
cleverca22 | and yet, the path it gave, does have wasm32!? | 14:09:52 |
cleverca22 | * [clever@thinkpad:~/iohk/]$ ls /nix/store/0rn3apgrjdqrq6zpqsrh5b8dmlxbci42-rustc-1.85.0/lib/rustlib/wasm32-unknown-unknown/lib/
libaddr2line-75d3d0c5981cd211.rlib libcore-c8e3d79b493aee7a.rlib liblibc-279616ba3aa6b6b5.rlib libpanic_unwind-5bf15f6e79874620.rlib librustc_std_workspace_core-20597a32dbe324b7.rlib libtest-72b3932de24c9224.rlib
libadler-7915b69899d8f62d.rlib libdlmalloc-82297a628a89729a.rlib libmemchr-12d9c02ac2b46e93.rlib libproc_macro-604f5a1a5a3487e6.rlib librustc_std_workspace_std-3fb1821d50d1a00e.rlib libunicode_width-f19aa74aa999edec.rlib
liballoc-a55cb6cdcc7074cd.rlib libgetopts-4c1c3c48cdd30e1d.rlib libminiz_oxide-b4d4129edfbbc22f.rlib libprofiler_builtins-69ea14db5fb2290e.rlib libstd-4e586b256d6eead5.rlib libunwind-610f019430ca2de2.rlib
libcfg_if-57ac834c4abeb545.rlib libgimli-10b471aa877c9dcc.rlib libobject-4bbfa37031017b9f.rlib librustc_demangle-d987a56c328827e5.rlib libstd_detect-cf3cdd655689b063.rlib
libcompiler_builtins-9bfd52bc78369877.rlib libhashbrown-06aa1b00a4ac11fb.rlib libpanic_abort-91efa2f4e3051c3f.rlib librustc_std_workspace_alloc-5894bc93779fa041.rlib libsysroot-bcec41c60c9f169c.rlib
| 14:10:03 |
cleverca22 | ah wait, it wants the SOURCE for wasm32! | 14:11:34 |
cleverca22 | K900: any ideas? | 14:14:40 |
K900 | It should be the same source always | 14:14:53 |
cleverca22 | ls: cannot access '/nix/store/0rn3apgrjdqrq6zpqsrh5b8dmlxbci42-rustc-1.85.0/lib/rustlib/src/rust': No such file or directory | 14:15:09 |
cleverca22 | its looking in here for wasm32 | 14:15:14 |
cleverca22 | but its only in $out//lib/rustlib/wasm32-unknown-unknown/ | 14:15:32 |
cleverca22 | in a pre-compiled form | 14:15:37 |
Alyssa Ross | Why does it need source? | 14:18:09 |
cleverca22 | In reply to @qyliss:fairydust.space Why does it need source? no idea, but thats what the error said:
Cannot compile the WASM runtime: no standard library sources found at /nix/store/0rn3apgrjdqrq6zpqsrh5b8dmlxbci42-rustc-1.85.0/lib/rustlib/src/rust
| 16:24:57 |
| 10 Apr 2025 |
| anselmetombarel joined the room. | 14:46:14 |
| sdht0 joined the room. | 17:00:07 |
tobi34 | 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 |
K900 | It should presumably update after the fix that was just merged | 19:22:06 |
tobi34 | 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 |
K900 | That change fixes the automatic CI workflow | 19:39:36 |
K900 | That updates the Rust versions | 19:39:40 |
| 11 Apr 2025 |
| Pol joined the room. | 07:48:32 |
Pol | 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 |
Pol | You can see the package here: https://github.com/NixOS/nixpkgs/pull/397142/commits/dccd2f8cf6e64985393fb6f04ee2d12c763af0a8 | 07:50:31 |
Pol | You can see failures here: https://github.com/NixOS/nixpkgs/actions/runs/14398178146/job/40377988045?pr=397142 | 07:51:10 |
Pol | I made another run, now only 2 tests are failing instead of 3: https://github.com/NixOS/nixpkgs/actions/runs/14398178146/job/40378460312 | 07:58:40 |
Pol | I'll try to set dontUseCargoParallelTests = true; | 08:03:27 |
Pol | Looks like the issue is fixed: https://github.com/NixOS/nixpkgs/actions/runs/14398639050/job/40379213126?pr=397142 | 08:13:18 |
| @prism019:matrix.org left the room. | 22:37:30 |
| Ben Sparks joined the room. | 23:01:17 |