Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / top-level / dhall-packages.nix
blobf43be56c59be4ee09e50495701da44b2ee106840
1 { lib
2 , newScope
3 , overrides ? (self: super: {})
4 }:
6 let
7   packages = self:
8     let
9       callPackage = newScope self;
11       buildDhallPackage =
12         callPackage ../development/interpreters/dhall/build-dhall-package.nix { };
14       buildDhallGitHubPackage =
15         callPackage ../development/interpreters/dhall/build-dhall-github-package.nix { };
17       buildDhallDirectoryPackage =
18         callPackage ../development/interpreters/dhall/build-dhall-directory-package.nix { };
20       buildDhallUrl =
21         callPackage ../development/interpreters/dhall/build-dhall-url.nix { };
23       generateDhallDirectoryPackage =
24         callPackage ../development/interpreters/dhall/generate-dhall-directory-package.nix { };
26     in
27       { inherit
28           callPackage
29           buildDhallPackage
30           buildDhallGitHubPackage
31           buildDhallDirectoryPackage
32           buildDhallUrl
33           generateDhallDirectoryPackage
34         ;
36         lib = import ../development/dhall-modules/lib.nix { inherit lib; };
38         dhall-cloudformation = callPackage ../development/dhall-modules/dhall-cloudformation.nix { };
40         dhall-grafana =
41           callPackage ../development/dhall-modules/dhall-grafana.nix { };
43         dhall-kubernetes =
44           callPackage ../development/dhall-modules/dhall-kubernetes.nix { };
46         Prelude =
47           callPackage ../development/dhall-modules/Prelude.nix { };
48       };
51   lib.fix' (lib.extends overrides packages)