| 27 Oct 2025 |
crop | I am using right now rust from nixpkgs. I want to use nightly for unit tests, rustup provides the possibility to switch to nightly for a single command invocation. Is there a way to do this with fennix or another overlay? | 11:32:30 |
crop | * I am using right now rust from nixpkgs for development. I want to use nightly for unit tests, rustup provides the possibility to switch to nightly for a single command invocation. Is there a way to do this with fennix or another overlay? | 11:32:55 |
Gaétan Lepage | cargo-nextest is broken on aarch64-darwin:
error: custom attribute panicked
--> nextest-runner/src/usdt.rs:63:1
|
63 | #[usdt::provider(provider = "nextest")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" })
error[E0433]: failed to resolve: could not find `usdt_probes` in `usdt`
--> nextest-runner/src/usdt.rs:205:23
|
205 | $crate::usdt::usdt_probes::run__done!(|| {
| ^^^^^^^^^^^ could not find `usdt_probes` in `usdt`
|
::: nextest-runner/src/runner/imp.rs:381:9
|
381 | / crate::fire_usdt!(UsdtRunDone {
382 | | run_id: self.run_id,
383 | | profile_name: self.profile.name().to_owned(),
384 | | total_tests: run_stats.initial_run_count,
... |
389 | | paused_nanos: _stopwatch_end.paused.as_nanos() as u64,
390 | | });
| |__________- in this macro invocation
|
= note: this error originates in the macro `crate::fire_usdt` (in Nightly builds, run with -Z macro-backtrace for more info)
| 13:17:59 |
Gaétan Lepage | Bisected to https://github.com/NixOS/nixpkgs/pull/455250 | 13:29:19 |
QuadRadical (Ping) @ FOSDEM | i reccomens using crane combined with fenix, i found it great myself. perhaps fenix alone is enough for you though. | 13:52:15 |
crop | In reply to @quadradical:federated.nexus i reccomens using crane combined with fenix, i found it great myself. perhaps fenix alone is enough for you though. How would you switch between toolchains? | 15:22:02 |
Charles | multiple devshells | 15:26:56 |
QuadRadical (Ping) @ FOSDEM | yes, would work | 18:50:07 |
QuadRadical (Ping) @ FOSDEM | for that fenix only is enough | 18:50:15 |
QuadRadical (Ping) @ FOSDEM | but you can also for your unit tests, use crane with fenix, and then just use nix flake check to run your tests | 18:50:29 |