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

Safe HaskellNone
LanguageHaskell2010

Distribution.Nixpkgs.Haskell.Derivation

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

Associated Types

type Rep Derivation :: * -> * #

Methods

rnf :: Derivation -> () #

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))))))))

nullDerivation :: Derivation Source #

pkgid :: Lens' Derivation PackageIdentifier Source #

revision :: Lens' Derivation Int Source #

src :: Lens' Derivation DerivationSource Source #

subpath :: Lens' Derivation FilePath Source #

isLibrary :: Lens' Derivation Bool Source #

isExecutable :: Lens' Derivation Bool Source #

extraFunctionArgs :: Lens' Derivation (Set Binding) Source #

libraryDepends :: Lens' Derivation BuildInfo Source #

executableDepends :: Lens' Derivation BuildInfo Source #

testDepends :: Lens' Derivation BuildInfo Source #

configureFlags :: Lens' Derivation (Set String) Source #

cabalFlags :: Lens' Derivation FlagAssignment Source #

runHaddock :: Lens' Derivation Bool Source #

jailbreak :: Lens' Derivation Bool Source #

doCheck :: Lens' Derivation Bool Source #

testTarget :: Lens' Derivation String Source #

hyperlinkSource :: Lens' Derivation Bool Source #

enableSplitObjs :: Lens' Derivation Bool Source #

enableLibraryProfiling :: Lens' Derivation Bool Source #

enableExecutableProfiling :: Lens' Derivation Bool Source #

phaseOverrides :: Lens' Derivation String Source #

editedCabalFile :: Lens' Derivation String Source #

metaSection :: Lens' Derivation Meta Source #

dependencies :: Traversal' Derivation BuildInfo Source #

setupDepends :: Lens' Derivation BuildInfo Source #

benchmarkDepends :: Lens' Derivation BuildInfo Source #

enableSeparateDataOutput :: Lens' Derivation Bool Source #

AltStyle によって変換されたページ (->オリジナル) /