jtojnar / nixpkgs-hammering

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

Error when running from local directory #105

Closed jtojnar closed 3 years ago

jtojnar commented 3 years ago

When trying to check an expression in my nixpkgs checkout with local nixpkgs-hammering, it fails:

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

It works with n-h fetched from repo:

$ nix run github:jtojnar/nixpkgs-hammering librsvg
When evaluating attribute ‘librsvg’:
No issues found.
$ nix --version
nix (Nix) 2.4pre20210308_1c0e3e4
jtojnar commented 3 years ago

Never mind, wrong branch.