nix-community / comma

Comma runs software without installing it. [maintainers=@Artturin,@burke,@DavHau]
1.01k stars 47 forks source link

Add --database argument #31

Closed Baitinq closed 1 year ago

Baitinq commented 2 years ago

Sorry for creating a new pull request with the same commit, I closed the previous one on accident while fixing the merge conflicts.

This optional argument provides the option for comma to look for the nix-index database in a different location than the default one. This is useful if for example you are calling comma as root and it cant find your default user's nix-index database location.

Artturin commented 1 year ago

I'm sorry but i think this should be implemented in nix-index https://github.com/bennofs/nix-index/issues/143 https://github.com/bennofs/nix-index/pull/186