| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Distribution.Nixpkgs.Haskell.Derivation
Synopsis
- data Derivation
- nullDerivation :: Derivation
- pkgid :: Lens' Derivation PackageIdentifier
- revision :: Lens' Derivation Int
- src :: Lens' Derivation DerivationSource
- subpath :: Lens' Derivation FilePath
- isLibrary :: Lens' Derivation Bool
- isExecutable :: Lens' Derivation Bool
- extraFunctionArgs :: Lens' Derivation (Set Binding)
- libraryDepends :: Lens' Derivation BuildInfo
- executableDepends :: Lens' Derivation BuildInfo
- testDepends :: Lens' Derivation BuildInfo
- configureFlags :: Lens' Derivation (Set String)
- cabalFlags :: Lens' Derivation FlagAssignment
- runHaddock :: Lens' Derivation Bool
- jailbreak :: Lens' Derivation Bool
- doCheck :: Lens' Derivation Bool
- testTarget :: Lens' Derivation String
- hyperlinkSource :: Lens' Derivation Bool
- enableSplitObjs :: Lens' Derivation Bool
- enableLibraryProfiling :: Lens' Derivation Bool
- enableExecutableProfiling :: Lens' Derivation Bool
- phaseOverrides :: Lens' Derivation String
- editedCabalFile :: Lens' Derivation String
- metaSection :: Lens' Derivation Meta
- dependencies :: Traversal' Derivation BuildInfo
- setupDepends :: Lens' Derivation BuildInfo
- benchmarkDepends :: Lens' Derivation BuildInfo
- enableSeparateDataOutput :: Lens' Derivation Bool
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
Methods
showsPrec :: Int -> Derivation -> ShowS #
show :: Derivation -> String #
showList :: [Derivation] -> ShowS #
Associated Types
type Rep Derivation :: * -> * #
Methods
Methods
rnf :: Derivation -> () #
Methods
pPrintPrec :: PrettyLevel -> Rational -> Derivation -> Doc #
pPrint :: Derivation -> Doc #
pPrintList :: PrettyLevel -> [Derivation] -> Doc #
type Rep Derivation = D1 (MetaData "Derivation" "Distribution.Nixpkgs.Haskell.Derivation" "cabal2nix-2.4.1-BQ70r3Z45FdGW2tCKFo8LJ" 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))))))))