Cargo-about is not in crates-io registry

Hi, I use NixOS with Home Manager and I’ve been getting an error that’s Rust related? While rebuilding, an error is thrown saying “could not find cargo-about in registry crates-io with version ^0.6”. Here’s the log:

Using versionCheckHook
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/a4b9gs2ykbnvhymc1pfkssjv9bbvxbd5-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
unpackPhase completed in 53 seconds
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/zm4xsclilf28cf6sm24mgbx5nd1j1za5-0001-linux-linker.patch
patching file .cargo/config.toml
applying patch script/patches/use-cross-platform-livekit.patch
patching file crates/call/Cargo.toml
Hunk #1 succeeded at 42 (offset 1 line).
patching file crates/call/src/call.rs
patching file crates/workspace/src/shared_screen.rs
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/zed-editor-0.178.5-vendor/Cargo.lock
Finished cargoSetupPostPatchHook
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing cargoBuildHook
Installing cargo-about@^0.6...
error: could not find `cargo-about` in registry `crates-io` with version `^0.6`

Here’s my config if you need more information: GitHub - fakesproink/NixOS-Configuration: personal NixOS config

https://hydra.nixos.org/build/293357390/nixlog/2/tail

This is currently a zed-editor issue wich has been resolved in nixpkgs-unstable but not yet in nixos-unstable. This will probably be fixed soon.

A quick search on Github: zed-editor: fix cargo-about 0.7 compatibility by niklaskorz · Pull Request #392319 · NixOS/nixpkgs · GitHub

3 Likes

Hi there,
on my end I set my nixpkgs to the commit before the zed-editor change and was able to compile my system again…

nixpkgs.url = "github:nixos/nixpkgs/750fef2"
1 Like

Blocking all your system updates on an experimental editor doesn’t seem like the greatest idea IMO.

Per https://nixpkgs-tracker.ocfox.me/?pr=392319 the PR is almost to nixos-unstable.

In this case it will be just a few more hours to make it into the last missing channel, so probably not a big deal for a personal machine :person_shrugging:

What I meant was, they changed their flake input over this, they should remember to change it back. It’d be better to just use --override-input temporarily though, IMO.

EDIT: And it’s already reached nixos-unstable @megametres

2 Likes