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

Safe HaskellNone
LanguageHaskell2010

Distribution.Nixpkgs.Haskell.PackageSourceSpec

Documentation

data Package Source #

Constructors

Package 

Fields

getPackage Source #

Arguments

:: Bool

Whether hpack should regenerate the cabal file.

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

:: Bool

Whether hpack should regenerate the cabal file.

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