Overrides can be passed to callHackageDirect
This commit is contained in:
parent
83624524e2
commit
0cb5b013c0
@ -185,7 +185,7 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
|
|||||||
in self.callCabal2nix pkg (pkgs.fetchzip {
|
in self.callCabal2nix pkg (pkgs.fetchzip {
|
||||||
url = "http://hackage.haskell.org/package/${pkgver}/${pkgver}.tar.gz";
|
url = "http://hackage.haskell.org/package/${pkgver}/${pkgver}.tar.gz";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
}) {};
|
});
|
||||||
|
|
||||||
# Creates a Haskell package from a source package by calling cabal2nix on the source.
|
# Creates a Haskell package from a source package by calling cabal2nix on the source.
|
||||||
callCabal2nixWithOptions = name: src: extraCabal2nixOptions: args:
|
callCabal2nixWithOptions = name: src: extraCabal2nixOptions: args:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user