Overrides can be passed to callHackageDirect

This commit is contained in:
Doug Beardsley 2019-01-27 12:28:01 -05:00
parent 83624524e2
commit 0cb5b013c0

View File

@ -185,7 +185,7 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
in self.callCabal2nix pkg (pkgs.fetchzip {
url = "http://hackage.haskell.org/package/${pkgver}/${pkgver}.tar.gz";
inherit sha256;
}) {};
});
# Creates a Haskell package from a source package by calling cabal2nix on the source.
callCabal2nixWithOptions = name: src: extraCabal2nixOptions: args: