Skip to content

Commit a75162d

Browse files
committed
core: derive Eq, Enum, Generic, Hashable Ord, Show for NarHashMode
1 parent 1413c15 commit a75162d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hnix-store-core/src/System/Nix/Internal/StorePath.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ data NarHashMode
144144
| -- | Hash an arbitrary nar, including a non-executable regular
145145
-- file if so desired.
146146
Recursive
147+
deriving (Eq, Enum, Generic, Hashable, Ord, Show)
147148

148149
-- | Reason why a path is not valid
149150
data InvalidPathError =

0 commit comments

Comments
 (0)