jtojnar / nixpkgs-hammering

Beat your package expressions into a shape
MIT License
241 stars 15 forks source link

`EvalError` on multiple attributes when running as flake #127

Closed asymmetric closed 2 years ago

asymmetric commented 2 years ago
❯ cd ~/code/nixpkgs

❯ nix run github:jtojnar/nixpkgs-hammering librsvg
When evaluating attribute ‘librsvg’:
warning: EvalError
Cannot evaluate attribute ‘librsvg’ in ‘/nix/store/zdv3f5d41k355is67d9irxlvpkgn0k4r-nixpkgs’.
notice: no-build-output
‘librsvg’ has not yet been built. Checks that rely on the presence of build logs are skipped.

❯ nix run github:jtojnar/nixpkgs-hammering cowsay
When evaluating attribute ‘cowsay’:
warning: EvalError
Cannot evaluate attribute ‘cowsay’ in ‘/nix/store/zdv3f5d41k355is67d9irxlvpkgn0k4r-nixpkgs’.
notice: no-build-output
‘cowsay’ has not yet been built. Checks that rely on the presence of build logs are skipped.
jtojnar commented 2 years ago

Thanks for reporting. Running with debugging revealed this was due to automoc4 being removed:

nix run github:jtojnar/nixpkgs-hammering librsvg -- --do-not-catch-errors
error: ‘automoc4’ does not exist in Nixpkgs.