Commit Graph

3 Commits

Author SHA1 Message Date
Utku Demir
ffa1656cae
Module restructure 2021-09-04 22:12:05 +12:00
Utku Demir
1ffb426cc5
Don't hardcode '/nix/store', instead query at startup
This _should_ enable nix-tree to work on non-standard store paths.
Not tested yet, since I do not have a setup like that.

Main changes:

* Fetch store path at the beginning (`getNixStore` function)
* Make `StoreName`'s also contain a NixStore
* Make `InvertedIndex` similar to a `Map` rather than a `Set`
2021-03-10 22:30:56 +13:00
Utku Demir
10d953d2ae
Add tests for InvertedIndex 2021-02-23 20:58:46 +13:00