Remove Generic1 instance for NKeyName
See https://github.com/haskell-nix/hnix/issues/225
This commit is contained in:
parent
820499daff
commit
4202bac068
|
@ -363,11 +363,6 @@ instance Hashable SourcePos where
|
||||||
hashWithSalt salt (SourcePos f l c) =
|
hashWithSalt salt (SourcePos f l c) =
|
||||||
salt `hashWithSalt` f `hashWithSalt` l `hashWithSalt` c
|
salt `hashWithSalt` f `hashWithSalt` l `hashWithSalt` c
|
||||||
|
|
||||||
instance Generic1 NKeyName where
|
|
||||||
type Rep1 NKeyName = NKeyName
|
|
||||||
from1 = id
|
|
||||||
to1 = id
|
|
||||||
|
|
||||||
instance NFData1 NKeyName where
|
instance NFData1 NKeyName where
|
||||||
liftRnf _ (StaticKey !_ ) = ()
|
liftRnf _ (StaticKey !_ ) = ()
|
||||||
liftRnf _ (DynamicKey (Plain !_) ) = ()
|
liftRnf _ (DynamicKey (Plain !_) ) = ()
|
||||||
|
|
Loading…
Reference in New Issue