Skip to content

[BUG] Nix build fails: tauri-runtime-2.9.1 hash with no corresponding git dependency #934

@simonkoeck

Description

@simonkoeck

Bug Description

The Nix flake build fails on commit 998449d with:

error: A hash was specified for tauri-runtime-2.9.1, but there is no corresponding git
dependency.

The previous commit (2361b85) builds fine. It appears Cargo.lock contains a hash for
tauri-runtime-2.9.1 without a matching git dependency in Cargo.toml. Nix's Cargo build
infrastructure requires these to be consistent.

Workaround: Pin the flake input to the previous revision:

handy.url = "github:cjpais/Handy/2361b8511ccd91794bbbdba98f81742fdc6f7887";

System Information

App Version: 0.7.9

Operating System: NixOS (unstable)

CPU: N/A (build-time failure)

GPU: N/A (build-time failure)

Logs

Full error trace:

error: A hash was specified for tauri-runtime-2.9.1, but there is no corresponding git
dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions