nix-community / comma

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

Provide an environment variable to specify the nix-index database location #50

Closed Mic92 closed 10 months ago

Mic92 commented 1 year ago

I am currently trying to use XDG_CACHE_DIR but this also affects other application that try to write to a read-only directory: https://github.com/Mic92/nix-index-database/issues/48

Mic92 commented 1 year ago

nix-index has the following flake that could be used:

-d, --db <DATABASE>      Directory where the index is stored [default: /home/joerg/.cache/nix-index/]
Artturin commented 1 year ago

https://github.com/bennofs/nix-index/pull/186 got merged so the issue can be fixed there https://github.com/bennofs/nix-index/issues/143

Artturin commented 10 months ago

Fixed by https://github.com/nix-community/nix-index/pull/213