cabal2nix-2.15.6: Convert Cabal files into Nix build instructions.
Safe HaskellNone
LanguageHaskell2010

Distribution.Nixpkgs.Haskell.PackageSourceSpec

Documentation

data Package Source #

Constructors

Package 

Fields

Instances

Instances details
Show Package Source # 
Instance details

Defined in Distribution.Nixpkgs.Haskell.PackageSourceSpec

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