Skip to content

Commit 4202bac

Browse files
expipiplus1jwiegley
authored andcommitted
Remove Generic1 instance for NKeyName
See #225
1 parent 820499d commit 4202bac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Nix/Expr/Types.hs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,6 @@ instance Hashable SourcePos where
363363
hashWithSalt salt (SourcePos f l c) =
364364
salt `hashWithSalt` f `hashWithSalt` l `hashWithSalt` c
365365

366-
instance Generic1 NKeyName where
367-
type Rep1 NKeyName = NKeyName
368-
from1 = id
369-
to1 = id
370-
371366
instance NFData1 NKeyName where
372367
liftRnf _ (StaticKey !_ ) = ()
373368
liftRnf _ (DynamicKey (Plain !_) ) = ()

0 commit comments

Comments
 (0)