cabal2nix-2.7: Convert Cabal files into Nix build instructions.

Safe HaskellNone
LanguageHaskell2010

Distribution.Nixpkgs.Haskell.Derivation

Synopsis

Documentation

data Derivation Source #

A represtation of Nix expressions for building Haskell packages. The data type correspond closely to the definition of PackageDescription from Cabal.

Instances

Eq Derivation Source # 
Show Derivation Source # 
Generic Derivation Source # 

Associated Types

type Rep Derivation :: * -> * #

Package Derivation Source # 
NFData Derivation Source # 

Methods

rnf :: Derivation -> () #

Pretty Derivation Source # 
type Rep Derivation Source # 
type Rep Derivation = D1 (MetaData "Derivation" "Distribution.Nixpkgs.Haskell.Derivation" "cabal2nix-2.7-6yFmZUJyUJBEIuaEkUuuSn" False) (C1 (MetaCons "MkDerivation" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pkgid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PackageIdentifier)) ((:*:) (S1 (MetaSel (Just Symbol "_revision") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_src") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DerivationSource)))) ((:*:) (S1 (MetaSel (Just Symbol "_subpath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath)) ((:*:) (S1 (MetaSel (Just Symbol "_isLibrary") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_isExecutable") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_extraFunctionArgs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Set Binding))) ((:*:) (S1 (MetaSel (Just Symbol "_setupDepends") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BuildInfo)) (S1 (MetaSel (Just Symbol "_libraryDepends") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BuildInfo)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_executableDepends") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BuildInfo)) (S1 (MetaSel (Just Symbol "_testDepends") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BuildInfo))) ((:*:) (S1 (MetaSel (Just Symbol "_benchmarkDepends") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BuildInfo)) (S1 (MetaSel (Just Symbol "_configureFlags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Set String))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cabalFlags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FlagAssignment)) ((:*:) (S1 (MetaSel (Just Symbol "_runHaddock") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_jailbreak") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_doCheck") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "_testTarget") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "_hyperlinkSource") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_enableLibraryProfiling") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "_enableExecutableProfiling") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_enableSplitObjs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_phaseOverrides") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "_editedCabalFile") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) ((:*:) (S1 (MetaSel (Just Symbol "_enableSeparateDataOutput") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_metaSection") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Meta))))))))