Skip to content

Commit

Permalink
Merge pull request #73801 from endgame/callHackageDirect-docstring
Browse files Browse the repository at this point in the history
callHackageDirect: correct type signature
  • Loading branch information
cdepillabout authored Nov 20, 2019
2 parents 5f7bcff + 9f41d8a commit 5ccbcf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/haskell-modules/make-package-set.nix
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,10 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
# '... foo = self.callHackage "foo" "1.5.3" {}; ...'
callHackage = name: version: callPackageKeepDeriver (self.hackage2nix name version);

# callHackageDirect :: Text -> Text -> AttrSet -> HaskellPackage
# callHackageDirect
# :: { pkg :: Text, ver :: Text, sha256 :: Text }
# -> AttrSet
# -> HaskellPackage
#
# This function does not depend on all-cabal-hashes and therefore will work
# for any version that has been released on hackage as opposed to only
Expand Down

0 comments on commit 5ccbcf2

Please sign in to comment.