haskell-nix / hnix-store

Haskell implementation of the Nix store
Apache License 2.0
83 stars 23 forks source link

Integrate `hnix-store-benchmark` from #26 and `hnix-store-dump` as executables #233

Open sorki opened 8 months ago

sorki commented 8 months ago

The thingie is pretty self-contained and doesn't even seem to depend on -core. The ReadonlyStore depends on it but that should also be a separate package it seems.

This would make dependencies cleaner and maintenance a bit easier.

CC @imalsogreg @domenkozar @sandydoo - I would add you all as maintainers on Hackage. Thoughts?

sorki commented 8 months ago

Could also include hnix-store-benchmark from https://github.com/haskell-nix/hnix-store/issues/26 and hnix-store-dump as executables.

sorki commented 8 months ago

Could also include hnix-store-benchmark from #26 and hnix-store-dump as executables.

Since the thingie is a lib they should be guarded with flags like in -dbs cabal + buildable so they won't propagate to users PATH by default but enabled in dev env via cabal.project

sorki commented 8 months ago

When this lands on Hackage, the migration path for cachix is simple:

sorki commented 8 months ago

Keeping open as the exe and benchmark would be cool! I think Domen and Sander wouldn't mind if this is picked from their repos and added here with git commit --author=... attribution