haskell-nix / hnix-store

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

Implement NarFromPath operation #266

Closed squalus closed 7 months ago

squalus commented 8 months ago

This would allow exporting NAR files from a remote Nix store. This should not read the entire NAR into memory, since the NARs can be large.

sorki commented 7 months ago

Ditto https://github.com/haskell-nix/hnix-store/commit/675581903e46dd80d7dbea237eefdd3e00024acb !

We also have a nice TODO list here https://github.com/haskell-nix/hnix-store/blob/master/hnix-store-remote/src/System/Nix/Store/Remote/Serializer.hs#L1176-L1194 :smiley_cat: