diff --git a/pkgs/development/haskell-modules/default.nix b/pkgs/development/haskell-modules/default.nix index 27f3ccd97328..7a51a1de1471 100644 --- a/pkgs/development/haskell-modules/default.nix +++ b/pkgs/development/haskell-modules/default.nix @@ -8,6 +8,8 @@ let inherit (stdenv.lib) fix' extends; + inherit (import ./lib.nix { inherit pkgs; }) hackage2nix; + haskellPackages = self: let @@ -57,6 +59,8 @@ let inherit mkDerivation callPackage; + callHackage = name: version: self.callPackage (hackage2nix name version); + ghcWithPackages = selectFrom: withPackages (selectFrom self); ghcWithHoogle = selectFrom: