Gabriella439 / Haskell-Nix-Derivation-Library

Parse and render *.drv files
BSD 3-Clause "New" or "Revised" License
37 stars 10 forks source link

Hashable instance? #18

Closed jsoo1 closed 2 years ago

jsoo1 commented 2 years ago

It might be nice to make unordered collections of derivations. Would a Hashable instance would be nice for Derivation?

Gabriella439 commented 2 years ago

I took a stab at doing this and the main issue that I ran into is that Set doesn't have a Hashable instance, so Hashable cannot be derived for the Derivation type

jsoo1 commented 2 years ago

Ah I see. Ok then. I suppose I can find another way. Thank you!

Gabriella439 commented 2 years ago

You're welcome!