Open bohendo opened 6 months ago
This value in Cargo.toml is "line-tables-only"
which is valid according to Cargo docs. How is the rust version determined for building lighthouse? Could it be too old?
Lighthouse does build successfully if I use the input
ethereum.url = "github:nix-community/ethereum.nix/978775c6a309ec9c98c706c56fff004a9f83d525"; # 231025
So something introduced in the last couple months seems to not work. Looks like there was a bit of a re-org, so hard to tell what it was exactly.
A binary-ish search through the history of this repo suggests commit 24d141dac0cc09c851fa32ad564a9fc67d887d6c
is the culprit.
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/11cd405226b6663b1ba2073dc7d8b0d7a78175d9"; # 240209
utils.url = "github:numtide/flake-utils/04c1b180862888302ddfb2e3ad9eaa63afc60cf8"; # v1.0.0
# ethereum.url = "github:nix-community/ethereum.nix/e428579838f13a897a41ec75dffda027cc51df3c"; # 240220 # BROKE
# ethereum.url = "github:nix-community/ethereum.nix/24d141dac0cc09c851fa32ad564a9fc67d887d6c"; # 240207 # BROKE
ethereum.url = "github:nix-community/ethereum.nix/02dc62f4cefdf246adc7988ad1459eeee57f5e7f"; # 240207 # WORKS
};
Context
I want to use lighthouse, but it fails to build. The error says
expected a boolean or an integer in profile.release.debug
and, indeed, the value of this field in the's Cargo.toml is a string. At least, it is in the unpacked source archive that my system is trying to build.Bug description
All associated error logs:
Steps to reproduce
Loading the devShell from the following flake reproduces the problem.
Before submitting