Skip to content

Problem with nix direct install #18

@pjz

Description

@pjz

Sorry I can't offer much help, I'm still learning nix flakes and such. I can't even tell if this is really a problem with task-keeper or with one of its dependencies.

$ nix shell github:linux-china/task-keeper
error: builder for '/nix/store/cy07c76bwi83am9y11x1yffzzbicin99-task-keeper-deps-0.30.8.drv' failed with exit code 101;
       last 25 log lines:
       > updateAutotoolsGnuConfigScriptsPhase
       > configuring
       > [naersk] cargo_version (read): 1.84.0-nightly (e75214ea4 2024-10-25)
       > [naersk] cargo_message_format (set): json-diagnostic-rendered-ansi
       > [naersk] cargo_release: --release
       > [naersk] cargo_options:
       > [naersk] cargo_build_options: $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
       > [naersk] cargo_test_options: $cargo_release -j "$NIX_BUILD_CORES"
       > [naersk] RUST_TEST_THREADS: 12
       > [naersk] cargo_bins_jq_filter: .
       > [naersk] cargo_build_output_json (created): /build/tmp.XdocZihZMh
       > [naersk] RUSTFLAGS:
       > [naersk] CARGO_BUILD_RUSTFLAGS: -C target-feature=+crt-static
       > [naersk] CARGO_BUILD_RUSTFLAGS (updated): -C target-feature=+crt-static --remap-path-prefix /nix/store/nl751lygjiwrz7y4v6di5jgd3lkizzr8-crates-io-dependencies=/sources --remap-path-prefix /nix/store/jxjprb7wnlxz4xxcp1qs8x88hy6k578v-git-dependencies=/sources
       > building
       > cargo build $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
       > error: failed to parse manifest at `/build/dummy-src/Cargo.toml`
       >
       > Caused by:
       >   feature `edition2024` is required
       >
       >   The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.84.0-nightly (e75214ea4 2024-10-25)).
       >   Consider adding `cargo-features = ["edition2024"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
       >   See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.
       > [naersk] cargo returned with exit code 101, exiting
       For full logs, run:
         nix log /nix/store/cy07c76bwi83am9y11x1yffzzbicin99-task-keeper-deps-0.30.8.drv
error: 1 dependencies of derivation '/nix/store/45826jl8fayb10fhx4h89knhi89ba5hn-task-keeper-0.30.8.drv' failed to build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions