ezKEa / aagl-gtk-on-nix

Run an-anime-game-launcher GTK version on Nix/NixOS!
GNU General Public License v3.0
72 stars 10 forks source link

error: package `zbus_macros v4.1.2` cannot be built because it requires rustc 1.75 or newer, while the currently active rustc version is 1.73.0 #110

Closed Kreyren closed 4 months ago

Kreyren commented 4 months ago
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/v5yl5dy9f6rnpmh9yfbbyyskqzdkzm6m-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Executing cargoBuildHook
++ env CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/a9kr77jici5pfcv8hprqncnmjlsrjhi4-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/a9kr77jici5pfcv8hprqncnmjlsrjhi4-gcc-wrapper-12.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/a9kr77jici5pfcv8hprqncnmjlsrjhi4-gcc-wrapper-12.3.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/a9kr77jici5pfcv8hprqncnmjlsrjhi4-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/a9kr77jici5pfcv8hprqncnmjlsrjhi4-gcc-wrapper-12.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/a9kr77jici5pfcv8hprqncnmjlsrjhi4-gcc-wrapper-12.3.0/bin/cc CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/a9kr77jici5pfcv8hprqncnmjlsrjhi4-gcc-wrapper-12.3.0/bin/cc HOST_CXX=/nix/store/a9kr77jici5pfcv8hprqncnmjlsrjhi4-gcc-wrapper-12.3.0/bin/c++ cargo build -j 6 --target x86_64-unknown-linux-gnu --frozen --profile release
error: package `zbus_macros v4.1.2` cannot be built because it requires rustc 1.75 or newer, while the currently active rustc version is 1.73.0
Either upgrade to rustc 1.75 or newer, or use
cargo update -p zbus_macros@4.1.2 --precise ver
where `ver` is the latest version of `zbus_macros` supporting rustc 1.73.0
ezKEa commented 4 months ago

Can I know which branch you are seeing this issue on? Are you using the pinned nixpkgs or following your locally pinned one?

Kreyren commented 4 months ago

Can I know which branch you are seeing this issue on? Are you using the pinned nixpkgs or following your locally pinned one? -- @ezKEa (https://github.com/ezKEa/aagl-gtk-on-nix/issues/110#issuecomment-2131560580)

On https://github.com/ezKEa/aagl-gtk-on-nix/tree/release-24.05 using Nixpkgs-24.05 flake setup: https://github.com/kreyren/nixos-config

nixpkgs-24.05 seems to only have 1.73.0 rust atm

EDIT: I can give you a flake repro if you want, but give me few min as i am reworking the config atm

Kreyren commented 4 months ago

Oh sorry this is a pebcak i messed up version control in my config x_x