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

Safe HaskellNone
LanguageHaskell2010

Distribution.Nixpkgs.Haskell.PackageSourceSpec

Documentation

data Package Source #

Constructors

Package 

Fields

getPackage Source #

Arguments

:: HpackUse

the way hpack should be used.

-> Bool

Whether to fetch submodules if fetching from git

-> Maybe FilePath

The path to the Hackage database.

-> Maybe UTCTime

If we have hackage-snapshot time.

-> Source 
-> IO Package 

getPackage' Source #

Arguments

:: HpackUse

the way hpack should be used.

-> Bool

Whether to fetch submodules if fetching from git

-> IO HackageDB 
-> Source 
-> IO Package 

loadHackageDB Source #

Arguments

:: Maybe FilePath

The path to the Hackage database.

-> Maybe UTCTime

If we have hackage-snapshot time.

-> IO HackageDB