Remove Generic1 instance for NKeyName

See https://github.com/haskell-nix/hnix/issues/225
This commit is contained in:
Joe Hermaszewski 2020-10-23 11:03:05 +08:00 committed by John Wiegley
parent 820499daff
commit 4202bac068
1 changed files with 0 additions and 5 deletions

View File

@ -363,11 +363,6 @@ instance Hashable SourcePos where
hashWithSalt salt (SourcePos f l c) =
salt `hashWithSalt` f `hashWithSalt` l `hashWithSalt` c
instance Generic1 NKeyName where
type Rep1 NKeyName = NKeyName
from1 = id
to1 = id
instance NFData1 NKeyName where
liftRnf _ (StaticKey !_ ) = ()
liftRnf _ (DynamicKey (Plain !_) ) = ()