Fix support for extending Dhall package set

* Fix `dhallPackages` to be defined using `callPackage` instead of
  `callPackages`

  This enables the `pkgs.dhallPackages.override` method

* Export `pkgs.dhallPackages.callPackage`

  This is also necessary in order to easily extend `pkgs.dhallPackages` with
  new packages
This commit is contained in:
Gabriel Gonzalez 2021-01-09 20:21:49 -08:00 committed by Emery Hemingway
parent db0adc9a44
commit 82425ca793
2 changed files with 2 additions and 1 deletions

View File

@ -10615,7 +10615,7 @@ in
dhall-text = haskell.lib.justStaticExecutables haskellPackages.dhall-text;
dhallPackages = callPackages ./dhall-packages.nix { };
dhallPackages = callPackage ./dhall-packages.nix { };
duktape = callPackage ../development/interpreters/duktape { };

View File

@ -19,6 +19,7 @@ let
in
{ inherit
callPackage
buildDhallPackage
buildDhallGitHubPackage
buildDhallDirectoryPackage