Skip to content

Commit

Permalink
Merge pull request #89 from 9999years/fix-output-names-json
Browse files Browse the repository at this point in the history
Fix JSON instances for `OutputNames`
  • Loading branch information
9999years authored Oct 24, 2024
2 parents 5591d26 + b048acb commit 415463d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Nix/Diff/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ type Argument = Text

-- | A set of Nix derivation output names.
newtype OutputNames = OutputNames {unOutputNames :: Set Text}
deriving newtype (Eq, Ord)
deriving newtype (Eq, Ord, ToJSON, FromJSON)
deriving stock (Show, Generic, Data)
deriving anyclass (ToJSON, FromJSON)
deriving Arbitrary via GenericArbitrary OutputNames

-- Derivation diff
Expand Down

0 comments on commit 415463d

Please sign in to comment.