From 4202bac068034ba31bd05ae2664e43c95708311d Mon Sep 17 00:00:00 2001 From: Joe Hermaszewski Date: Fri, 23 Oct 2020 11:03:05 +0800 Subject: [PATCH] Remove Generic1 instance for NKeyName See https://github.com/haskell-nix/hnix/issues/225 --- src/Nix/Expr/Types.hs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Nix/Expr/Types.hs b/src/Nix/Expr/Types.hs index 3ead3fe..3965d7d 100644 --- a/src/Nix/Expr/Types.hs +++ b/src/Nix/Expr/Types.hs @@ -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 !_) ) = ()