Skip to content

Commit ff39add

Browse files
committed
Remove instance for old binary versions
1 parent 5f4cef9 commit ff39add

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Nix/Expr/Types.hs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@ hashAt = flip alterF
7777
-- unfortunate orphans
7878
instance Hashable1 NonEmpty
7979

80-
#if !MIN_VERSION_binary(0, 8, 4)
81-
instance Binary a => Binary (NE.NonEmpty a) where
82-
get = fmap NE.fromList Bin.get
83-
put = Bin.put . NE.toList
84-
#endif
85-
8680
-- | The main nix expression type. This is polymorphic so that it can be made
8781
-- a functor, which allows us to traverse expressions and map functions over
8882
-- them. The actual 'NExpr' type is a fixed point of this functor, defined

0 commit comments

Comments
 (0)