haskell-nix / hnix-store

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

fix nar test lookup for src directory #58

Closed sorki closed 4 years ago

sorki commented 4 years ago

Now also looks in hnix-store-core/src as well and won't fail even if either of them doesn't exist (which is not a big deal in this case).

imalsogreg commented 4 years ago

Thanks @sorki ! Let's use this for now. Down the road replace this test with one that doesn't use the library's source at all. I think I added that test as a quick example for myself of a realistic directory, but it feels weird to be using the source code as test-data like this in the long term.

Would you mind adding a TODO comment to you PR reminding us to come back to this?