nix-diff-1.0.20: Explain why two Nix derivations differ
Safe HaskellSafe-Inferred
LanguageHaskell2010

Nix.Diff.Types

Synopsis

NOTE: Lawless instances All the Arbitrary instances here are written to check if `decode . encode == id` rule was broken, so they don't respect to internal laws of these types, such as "Maps from extraOutputs must not have intersecting keys" and so on. If you want to test these invariants, you have to rewrite instances manually.

data Changed a Source #

Constructors

Changed 

Fields

Instances

Instances details
Foldable Changed Source # 
Instance details

Defined in Nix.Diff.Types

Methods

fold :: Monoid m => Changed m -> m #

foldMap :: Monoid m => (a -> m) -> Changed a -> m #

foldMap' :: Monoid m => (a -> m) -> Changed a -> m #

foldr :: (a -> b -> b) -> b -> Changed a -> b #

foldr' :: (a -> b -> b) -> b -> Changed a -> b #

foldl :: (b -> a -> b) -> b -> Changed a -> b #

foldl' :: (b -> a -> b) -> b -> Changed a -> b #

foldr1 :: (a -> a -> a) -> Changed a -> a #

foldl1 :: (a -> a -> a) -> Changed a -> a #

toList :: Changed a -> [a] #

null :: Changed a -> Bool #

length :: Changed a -> Int #

elem :: Eq a => a -> Changed a -> Bool #

maximum :: Ord a => Changed a -> a #

minimum :: Ord a => Changed a -> a #

sum :: Num a => Changed a -> a #

product :: Num a => Changed a -> a #

Traversable Changed Source # 
Instance details

Defined in Nix.Diff.Types

Methods

traverse :: Applicative f => (a -> f b) -> Changed a -> f (Changed b) #

sequenceA :: Applicative f => Changed (f a) -> f (Changed a) #

mapM :: Monad m => (a -> m b) -> Changed a -> m (Changed b) #

sequence :: Monad m => Changed (m a) -> m (Changed a) #

Functor Changed Source # 
Instance details

Defined in Nix.Diff.Types

Methods

fmap :: (a -> b) -> Changed a -> Changed b #

(<$) :: a -> Changed b -> Changed a #

Arbitrary a => Arbitrary (Changed a) Source # 
Instance details

Defined in Nix.Diff.Types

Methods

arbitrary :: Gen (Changed a) #

shrink :: Changed a -> [Changed a] #

FromJSON a => FromJSON (Changed a) Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON a => ToJSON (Changed a) Source # 
Instance details

Defined in Nix.Diff.Types

Data a => Data (Changed a) Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Changed a -> c (Changed a) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Changed a) #

toConstr :: Changed a -> Constr #

dataTypeOf :: Changed a -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Changed a)) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Changed a)) #

gmapT :: (forall b. Data b => b -> b) -> Changed a -> Changed a #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Changed a -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Changed a -> r #

gmapQ :: (forall d. Data d => d -> u) -> Changed a -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Changed a -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Changed a -> m (Changed a) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Changed a -> m (Changed a) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Changed a -> m (Changed a) #

Generic (Changed a) Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep (Changed a) :: Type -> Type #

Methods

from :: Changed a -> Rep (Changed a) x #

to :: Rep (Changed a) x -> Changed a #

Show a => Show (Changed a) Source # 
Instance details

Defined in Nix.Diff.Types

Methods

showsPrec :: Int -> Changed a -> ShowS #

show :: Changed a -> String #

showList :: [Changed a] -> ShowS #

Eq a => Eq (Changed a) Source # 
Instance details

Defined in Nix.Diff.Types

Methods

(==) :: Changed a -> Changed a -> Bool #

(/=) :: Changed a -> Changed a -> Bool #

type Rep (Changed a) Source # 
Instance details

Defined in Nix.Diff.Types

type Rep (Changed a) = D1 ('MetaData "Changed" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) (C1 ('MetaCons "Changed" 'PrefixI 'True) (S1 ('MetaSel ('Just "before") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "now") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

newtype TextDiff Source #

Constructors

TextDiff 

Fields

Instances

Instances details
Arbitrary TextDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON TextDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON TextDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data TextDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TextDiff -> c TextDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TextDiff #

toConstr :: TextDiff -> Constr #

dataTypeOf :: TextDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TextDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TextDiff) #

gmapT :: (forall b. Data b => b -> b) -> TextDiff -> TextDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TextDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TextDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> TextDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TextDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TextDiff -> m TextDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TextDiff -> m TextDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TextDiff -> m TextDiff #

Show TextDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq TextDiff Source # 
Instance details

Defined in Nix.Diff.Types

data DerivationDiff Source #

Constructors

DerivationsAreTheSame 
AlreadyCompared 
OnlyAlreadyComparedBelow 
NamesDontMatch 
OutputsDontMatch 
DerivationDiff 

Fields

Instances

Instances details
Arbitrary DerivationDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON DerivationDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON DerivationDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data DerivationDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DerivationDiff -> c DerivationDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DerivationDiff #

toConstr :: DerivationDiff -> Constr #

dataTypeOf :: DerivationDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DerivationDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DerivationDiff) #

gmapT :: (forall b. Data b => b -> b) -> DerivationDiff -> DerivationDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DerivationDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DerivationDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> DerivationDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DerivationDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DerivationDiff -> m DerivationDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DerivationDiff -> m DerivationDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DerivationDiff -> m DerivationDiff #

Generic DerivationDiff Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep DerivationDiff :: Type -> Type #

Show DerivationDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq DerivationDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep DerivationDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep DerivationDiff = D1 ('MetaData "DerivationDiff" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) ((C1 ('MetaCons "DerivationsAreTheSame" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlreadyCompared" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OnlyAlreadyComparedBelow" 'PrefixI 'True) (S1 ('MetaSel ('Just "outputStructure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Changed OutputStructure))))) :+: (C1 ('MetaCons "NamesDontMatch" 'PrefixI 'True) (S1 ('MetaSel ('Just "outputStructure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Changed OutputStructure))) :+: (C1 ('MetaCons "OutputsDontMatch" 'PrefixI 'True) (S1 ('MetaSel ('Just "outputStructure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Changed OutputStructure))) :+: C1 ('MetaCons "DerivationDiff" 'PrefixI 'True) (((S1 ('MetaSel ('Just "outputStructure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Changed OutputStructure)) :*: S1 ('MetaSel ('Just "outputsDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputsDiff)) :*: (S1 ('MetaSel ('Just "platformDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Changed Platform))) :*: S1 ('MetaSel ('Just "builderDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Changed Builder))))) :*: ((S1 ('MetaSel ('Just "argumentsDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ArgumentsDiff)) :*: S1 ('MetaSel ('Just "sourcesDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourcesDiff)) :*: (S1 ('MetaSel ('Just "inputsDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InputsDiff) :*: S1 ('MetaSel ('Just "envDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe EnvironmentDiff))))))))

data OutputStructure Source #

Instances

Instances details
Arbitrary OutputStructure Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON OutputStructure Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON OutputStructure Source # 
Instance details

Defined in Nix.Diff.Types

Data OutputStructure Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OutputStructure -> c OutputStructure #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OutputStructure #

toConstr :: OutputStructure -> Constr #

dataTypeOf :: OutputStructure -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OutputStructure) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OutputStructure) #

gmapT :: (forall b. Data b => b -> b) -> OutputStructure -> OutputStructure #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OutputStructure -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OutputStructure -> r #

gmapQ :: (forall d. Data d => d -> u) -> OutputStructure -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OutputStructure -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OutputStructure -> m OutputStructure #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OutputStructure -> m OutputStructure #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OutputStructure -> m OutputStructure #

Generic OutputStructure Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep OutputStructure :: Type -> Type #

Show OutputStructure Source # 
Instance details

Defined in Nix.Diff.Types

Eq OutputStructure Source # 
Instance details

Defined in Nix.Diff.Types

type Rep OutputStructure Source # 
Instance details

Defined in Nix.Diff.Types

type Rep OutputStructure = D1 ('MetaData "OutputStructure" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) (C1 ('MetaCons "OutputStructure" 'PrefixI 'True) (S1 ('MetaSel ('Just "derivationPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Just "derivationOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Text))))

Outputs diff

data OutputsDiff Source #

Constructors

OutputsDiff 

Fields

Instances

Instances details
Arbitrary OutputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON OutputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON OutputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data OutputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OutputsDiff -> c OutputsDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OutputsDiff #

toConstr :: OutputsDiff -> Constr #

dataTypeOf :: OutputsDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OutputsDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OutputsDiff) #

gmapT :: (forall b. Data b => b -> b) -> OutputsDiff -> OutputsDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OutputsDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OutputsDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> OutputsDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OutputsDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OutputsDiff -> m OutputsDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OutputsDiff -> m OutputsDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OutputsDiff -> m OutputsDiff #

Show OutputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq OutputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

data OutputDiff Source #

Instances

Instances details
Arbitrary OutputDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON OutputDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON OutputDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data OutputDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OutputDiff -> c OutputDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OutputDiff #

toConstr :: OutputDiff -> Constr #

dataTypeOf :: OutputDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OutputDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OutputDiff) #

gmapT :: (forall b. Data b => b -> b) -> OutputDiff -> OutputDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OutputDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OutputDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> OutputDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OutputDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OutputDiff -> m OutputDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OutputDiff -> m OutputDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OutputDiff -> m OutputDiff #

Generic OutputDiff Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep OutputDiff :: Type -> Type #

Show OutputDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq OutputDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep OutputDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep OutputDiff = D1 ('MetaData "OutputDiff" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) (C1 ('MetaCons "OutputDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "outputName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "hashDifference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Changed OutputHash))))

Arguments diff

newtype ArgumentsDiff Source #

Instances

Instances details
Arbitrary ArgumentsDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON ArgumentsDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON ArgumentsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data ArgumentsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ArgumentsDiff -> c ArgumentsDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ArgumentsDiff #

toConstr :: ArgumentsDiff -> Constr #

dataTypeOf :: ArgumentsDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ArgumentsDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ArgumentsDiff) #

gmapT :: (forall b. Data b => b -> b) -> ArgumentsDiff -> ArgumentsDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ArgumentsDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ArgumentsDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> ArgumentsDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ArgumentsDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ArgumentsDiff -> m ArgumentsDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ArgumentsDiff -> m ArgumentsDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ArgumentsDiff -> m ArgumentsDiff #

Show ArgumentsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq ArgumentsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Sources diff

data SourcesDiff Source #

Constructors

SourcesDiff 

Fields

Instances

Instances details
Arbitrary SourcesDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON SourcesDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON SourcesDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data SourcesDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SourcesDiff -> c SourcesDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SourcesDiff #

toConstr :: SourcesDiff -> Constr #

dataTypeOf :: SourcesDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SourcesDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SourcesDiff) #

gmapT :: (forall b. Data b => b -> b) -> SourcesDiff -> SourcesDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SourcesDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SourcesDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> SourcesDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SourcesDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SourcesDiff -> m SourcesDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SourcesDiff -> m SourcesDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SourcesDiff -> m SourcesDiff #

Generic SourcesDiff Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep SourcesDiff :: Type -> Type #

Show SourcesDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq SourcesDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep SourcesDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep SourcesDiff = D1 ('MetaData "SourcesDiff" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) (C1 ('MetaCons "SourcesDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "extraSrcNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Changed (Set Text)))) :*: S1 ('MetaSel ('Just "srcFilesDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SourceFileDiff])))

data SourceFileDiff Source #

Constructors

OneSourceFileDiff 

Fields

SomeSourceFileDiff 

Instances

Instances details
Arbitrary SourceFileDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON SourceFileDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON SourceFileDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data SourceFileDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SourceFileDiff -> c SourceFileDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SourceFileDiff #

toConstr :: SourceFileDiff -> Constr #

dataTypeOf :: SourceFileDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SourceFileDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SourceFileDiff) #

gmapT :: (forall b. Data b => b -> b) -> SourceFileDiff -> SourceFileDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SourceFileDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SourceFileDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> SourceFileDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SourceFileDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SourceFileDiff -> m SourceFileDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SourceFileDiff -> m SourceFileDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SourceFileDiff -> m SourceFileDiff #

Generic SourceFileDiff Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep SourceFileDiff :: Type -> Type #

Show SourceFileDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq SourceFileDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep SourceFileDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep SourceFileDiff = D1 ('MetaData "SourceFileDiff" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) (C1 ('MetaCons "OneSourceFileDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "srcName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "srcContentDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TextDiff))) :+: C1 ('MetaCons "SomeSourceFileDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "srcName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "srcFileDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Changed [FilePath]))))

Inputs diff

data InputsDiff Source #

Constructors

InputsDiff 

Fields

Instances

Instances details
Arbitrary InputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON InputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON InputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data InputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InputsDiff -> c InputsDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InputsDiff #

toConstr :: InputsDiff -> Constr #

dataTypeOf :: InputsDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InputsDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InputsDiff) #

gmapT :: (forall b. Data b => b -> b) -> InputsDiff -> InputsDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InputsDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InputsDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> InputsDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InputsDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InputsDiff -> m InputsDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InputsDiff -> m InputsDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InputsDiff -> m InputsDiff #

Generic InputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep InputsDiff :: Type -> Type #

Show InputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq InputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep InputsDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep InputsDiff = D1 ('MetaData "InputsDiff" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) (C1 ('MetaCons "InputsDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "inputExtraNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Changed (Set Text)))) :*: S1 ('MetaSel ('Just "inputDerivationDiffs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [InputDerivationsDiff])))

data InputDerivationsDiff Source #

Instances

Instances details
Arbitrary InputDerivationsDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON InputDerivationsDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON InputDerivationsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data InputDerivationsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InputDerivationsDiff -> c InputDerivationsDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InputDerivationsDiff #

toConstr :: InputDerivationsDiff -> Constr #

dataTypeOf :: InputDerivationsDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InputDerivationsDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InputDerivationsDiff) #

gmapT :: (forall b. Data b => b -> b) -> InputDerivationsDiff -> InputDerivationsDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InputDerivationsDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InputDerivationsDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> InputDerivationsDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InputDerivationsDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InputDerivationsDiff -> m InputDerivationsDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InputDerivationsDiff -> m InputDerivationsDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InputDerivationsDiff -> m InputDerivationsDiff #

Generic InputDerivationsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep InputDerivationsDiff :: Type -> Type #

Show InputDerivationsDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq InputDerivationsDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep InputDerivationsDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep InputDerivationsDiff = D1 ('MetaData "InputDerivationsDiff" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) (C1 ('MetaCons "OneDerivationDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "drvName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "drvDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DerivationDiff)) :+: C1 ('MetaCons "SomeDerivationsDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "drvName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "extraPartsDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Changed (Map FilePath (Set Text))))))

Environment diff

data EnvironmentDiff Source #

Instances

Instances details
Arbitrary EnvironmentDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON EnvironmentDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON EnvironmentDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data EnvironmentDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnvironmentDiff -> c EnvironmentDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnvironmentDiff #

toConstr :: EnvironmentDiff -> Constr #

dataTypeOf :: EnvironmentDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnvironmentDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnvironmentDiff) #

gmapT :: (forall b. Data b => b -> b) -> EnvironmentDiff -> EnvironmentDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnvironmentDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnvironmentDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnvironmentDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnvironmentDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnvironmentDiff -> m EnvironmentDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnvironmentDiff -> m EnvironmentDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnvironmentDiff -> m EnvironmentDiff #

Generic EnvironmentDiff Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep EnvironmentDiff :: Type -> Type #

Show EnvironmentDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq EnvironmentDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep EnvironmentDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep EnvironmentDiff = D1 ('MetaData "EnvironmentDiff" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) (C1 ('MetaCons "EnvironmentsAreEqual" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EnvironmentDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "extraEnvDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Changed (Map Text Text))) :*: S1 ('MetaSel ('Just "envContentDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [EnvVarDiff])))

data EnvVarDiff Source #

Constructors

EnvVarDiff 

Instances

Instances details
Arbitrary EnvVarDiff Source # 
Instance details

Defined in Nix.Diff.Types

FromJSON EnvVarDiff Source # 
Instance details

Defined in Nix.Diff.Types

ToJSON EnvVarDiff Source # 
Instance details

Defined in Nix.Diff.Types

Data EnvVarDiff Source # 
Instance details

Defined in Nix.Diff.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnvVarDiff -> c EnvVarDiff #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnvVarDiff #

toConstr :: EnvVarDiff -> Constr #

dataTypeOf :: EnvVarDiff -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnvVarDiff) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnvVarDiff) #

gmapT :: (forall b. Data b => b -> b) -> EnvVarDiff -> EnvVarDiff #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnvVarDiff -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnvVarDiff -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnvVarDiff -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnvVarDiff -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnvVarDiff -> m EnvVarDiff #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnvVarDiff -> m EnvVarDiff #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnvVarDiff -> m EnvVarDiff #

Generic EnvVarDiff Source # 
Instance details

Defined in Nix.Diff.Types

Associated Types

type Rep EnvVarDiff :: Type -> Type #

Show EnvVarDiff Source # 
Instance details

Defined in Nix.Diff.Types

Eq EnvVarDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep EnvVarDiff Source # 
Instance details

Defined in Nix.Diff.Types

type Rep EnvVarDiff = D1 ('MetaData "EnvVarDiff" "Nix.Diff.Types" "nix-diff-1.0.20-BdCWKjPXpiiDgCRRX81H7w" 'False) (C1 ('MetaCons "EnvVarDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "envKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "envValueDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TextDiff)))

Helpers

Orphan instances

Data (DerivationOutput FilePath Text) Source # 
Instance details

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DerivationOutput FilePath Text -> c (DerivationOutput FilePath Text) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (DerivationOutput FilePath Text) #

toConstr :: DerivationOutput FilePath Text -> Constr #

dataTypeOf :: DerivationOutput FilePath Text -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (DerivationOutput FilePath Text)) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (DerivationOutput FilePath Text)) #

gmapT :: (forall b. Data b => b -> b) -> DerivationOutput FilePath Text -> DerivationOutput FilePath Text #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DerivationOutput FilePath Text -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DerivationOutput FilePath Text -> r #

gmapQ :: (forall d. Data d => d -> u) -> DerivationOutput FilePath Text -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DerivationOutput FilePath Text -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DerivationOutput FilePath Text -> m (DerivationOutput FilePath Text) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DerivationOutput FilePath Text -> m (DerivationOutput FilePath Text) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DerivationOutput FilePath Text -> m (DerivationOutput FilePath Text) #