Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: git-delta and wezterm fails to build #5755

Closed
2 tasks done
computerscience-person opened this issue Aug 19, 2024 · 3 comments
Closed
2 tasks done

bug: git-delta and wezterm fails to build #5755

computerscience-person opened this issue Aug 19, 2024 · 3 comments
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@computerscience-person
Copy link

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

git-delta fails to build.

Maintainer CC

I don't know if this is a distro issue or home-manager patched an issue, git blame on git-delta option in home-manager doesn't show much useful.

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.6.45, NixOS, 24.11 (Vicuna), 24.11.20240814.c3aa7b8`
 - multi-user?: `yes`
@computerscience-person computerscience-person added bug triage Issues or feature request that have not been triaged yet labels Aug 19, 2024
@computerscience-person
Copy link
Author

Upstream nixpkgs seems to have broken some Rust dependencies.

error: builder for '/nix/store/l4ha5w08li3dj3s5jf0qr9rl7pd1f3pn-wezterm-20240203-11
       last 25 log lines:
       >    Compiling khronos_api v3.1.0
       >    Compiling time v0.3.31
       > error[E0282]: type annotations needed for `Box<_>`
       >   --> /build/cargo-vendor-dir/time-0.3.31/src/format_description/parse/mod
       >    |
       > 83 |     let items = format_items
       >    |         ^^^^^
       > ...
       > 86 |     Ok(items.into())
       >    |              ---- type must be known at this point
       >    |
       > help: consider giving `items` an explicit type, where the placeholders `_`
       >    |
       > 83 |     let items: Box<_> = format_items
       >    |              ++++++++
       >
       >    Compiling toml_edit v0.19.15
       >    Compiling chrono v0.4.33
       >    Compiling dlib v0.5.2
       >    Compiling futures-executor v0.3.30
       > For more information about this error, try `rustc --explain E0282`.
       > error: could not compile `time` (lib) due to 1 previous error

@computerscience-person
Copy link
Author

Looks like it is a build regression in Rust 1.80.0 NixOS/nixpkgs/issues/332957

@dotlambda
Copy link
Contributor

This is unrelated to Home Manager and was fixed in NixOS/nixpkgs#334814 and NixOS/nixpkgs#334818. Please close.

@computerscience-person computerscience-person closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

5 participants