nix: Fix expression & nixcheck.
Drop redundant deriving Typeable in Testing.Test internals.
Fix export spec of Types.Curry.