haskell-nix / hnix-store

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

Nar: Implement `mkLink` for `Arbitrary FileSystemObject` #232

Open sorki opened 8 months ago

sorki commented 8 months ago

mkLink in hnix-store-core/tests/NarFormat.hs is undefined with a TODO note to implement it. It seems the intention for it was to generate SymLinks of FileSystemObject in its Arbitrary instances.

This would be nice to have to have complete coverage of NAR encoding via prop_narEncodingArbitrary property.