replit / rippkgs

A CLI for indexing and searching packages in Nix expressions
MIT License
151 stars 2 forks source link

`nix eval` failed while indexing #34

Open benwaffle opened 4 months ago

benwaffle commented 4 months ago
❯ rippkgs-index nixpkgs                                              
evaluated registry in 309.7863 seconds
thread 'main' panicked at src/bin/index/main.rs:198:9:
`nix eval` failed: 
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Let me know how I can get more info to help you debug.

ryantm commented 4 months ago

Which commit of nixpkgs is on your NIX_PATH?

benwaffle commented 4 months ago

NIX_PATH is unset. I did find a .git-revision file for nixpkgs, maybe that's the one?

❯ echo $NIX_PATH

❯ cat ~/.nix-defexpr/channels/nixpkgs/.git-revision 
144133c526040a5140e89366ff72ac2d387e9bbb