| 18 Dec 2025 |
damccull | If it helps, it's specifically crashing on dioxis-cli
these 3 derivations will be built:
/nix/store/my5wjqmc7nvmprq294dwzadg56bvq3jd-cargo-msrv-0.18.4.drv
/nix/store/w0gpqb602fba792p5y6shhk00jyjm72y-dioxus-cli-0.7.0.drv
/nix/store/n6bw1dssgvgjfnxwx9igxgq9z1qikjmv-nix-shell.drv
building '/nix/store/w0gpqb602fba792p5y6shhk00jyjm72y-dioxus-cli-0.7.0.drv'...
building '/nix/store/my5wjqmc7nvmprq294dwzadg56bvq3jd-cargo-msrv-0.18.4.drv'...
error: builder for '/nix/store/w0gpqb602fba792p5y6shhk00jyjm72y-dioxus-cli-0.7.0.drv' failed with exit code 101;
last 18 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/gyr049rgffgxbkv6fycn641krhl31jl7-source
> source root is source
> Executing cargoSetupPostUnpackHook
> Finished cargoSetupPostUnpackHook
> Running phase: patchPhase
> Executing cargoSetupPostPatchHook
> Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
> Finished cargoSetupPostPatchHook
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> Running phase: buildPhase
> error: rustc 1.86.0 is not supported by the following package:
> cargo-util-schemas@0.10.1 requires rustc 1.89
> Either upgrade rustc or select compatible dependency versions with
> `cargo update <name>@<current-ver> --precise <compatible-ver>`
> where `<compatible-ver>` is the latest version supporting rustc 1.86.0
>
For full logs, run 'nix log /nix/store/w0gpqb602fba792p5y6shhk00jyjm72y-dioxus-cli-0.7.0.drv'.
error: 1 dependencies of derivation '/nix/store/n6bw1dssgvgjfnxwx9igxgq9z1qikjmv-nix-shell.drv' failed to build
| 18:34:56 |
damccull | Ooh, ok. Grok was useful this time. LLMs are starting to sometimes understand nix better. By having the dioxus-cli follow both nixpkgs and rust-overlay, it forced it to use my preferred versions rather than the version that comes with dioxus-cli. I guess I should report to dioxus their flake seems broken :D | 18:50:12 |
damccull | Well, it's still compiliing so no guarantee yet, but I'll let you all know. | 18:50:45 |
damccull | worked! | 18:55:38 |
| 19 Dec 2025 |
| Frédéric Christ (back on 02.01.) changed their display name from Frédéric Christ to Frédéric Christ (back on 02.01.). | 15:15:26 |
| sswag joined the room. | 22:58:53 |
| 20 Dec 2025 |
| Shahar "Dawn" Or joined the room. | 11:43:43 |
| vivekanandan_ks joined the room. | 12:27:21 |
| 21 Dec 2025 |
vivekanandan_ks | Hi All
Yesterday, I started looking for setting up an environment to learn rust😅.
I dwelled on setting up the environment and basic build through the help of some wiki and mainly vimjoyer's video.
Here's a hello world template of mine.
https://github.com/vivekanandan-ks/ksv-rust-try/blob/main/flake.nix
I have these configured:
Devshells :
- using nixpkgs and cargo, rustc etc (only stable from nixpkgs)
- using fenix for the toolchain (since this can be used for stable, beta, nightly releases)
Packages:
- plain: pkgs.rustPlatform.buildRustPackage
- naersk
- fenix + plain
- fenix + naersk
Any suggestion or improvements over this please😅
| 07:57:06 |
K900 | Honestly if your goal is to learn Rust, just nix-shell -p rustc cargo | 07:58:31 |
vivekanandan_ks | My goal is to package mainly, also wanted to learn rust on the way😅 | 08:03:36 |
K900 | If you want to package for nixpkgs, the only thing you can use is rustPlatform | 08:04:12 |
K900 | No out of tree dependencies are allowed | 08:04:24 |
Acid Bong | In reply to @vivekanandan_ks:matrix.org My goal is to package mainly, also wanted to learn rust on the way😅 then it's just a matter of creating a package with rustPlatform.buildRustPackage and a devshell with inputsFrom = [thatPackage]; nativeBuildInputs = [rust-analyzer]; and a formatter of your choice (rustfmt or genemichaels) | 08:12:13 |
vivekanandan_ks | Looks like there's more for me to learn. But it somewhat feels easier than the rabbit hole I went for python packaging in nix🥲
Looks like rust toolchain ecosystem is better
| 08:52:19 |