about summary refs log tree commit diff
path: root/pkgs/top-level/dhall-packages.nix
blob: f43be56c59be4ee09e50495701da44b2ee106840 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ lib
, newScope
, overrides ? (self: super: {})
}:

let
  packages = self:
    let
      callPackage = newScope self;

      buildDhallPackage =
        callPackage ../development/interpreters/dhall/build-dhall-package.nix { };

      buildDhallGitHubPackage =
        callPackage ../development/interpreters/dhall/build-dhall-github-package.nix { };

      buildDhallDirectoryPackage =
        callPackage ../development/interpreters/dhall/build-dhall-directory-package.nix { };

      buildDhallUrl =
        callPackage ../development/interpreters/dhall/build-dhall-url.nix { };

      generateDhallDirectoryPackage =
        callPackage ../development/interpreters/dhall/generate-dhall-directory-package.nix { };

    in
      { inherit
          callPackage
          buildDhallPackage
          buildDhallGitHubPackage
          buildDhallDirectoryPackage
          buildDhallUrl
          generateDhallDirectoryPackage
        ;

        lib = import ../development/dhall-modules/lib.nix { inherit lib; };

        dhall-cloudformation = callPackage ../development/dhall-modules/dhall-cloudformation.nix { };

        dhall-grafana =
          callPackage ../development/dhall-modules/dhall-grafana.nix { };

        dhall-kubernetes =
          callPackage ../development/dhall-modules/dhall-kubernetes.nix { };

        Prelude =
          callPackage ../development/dhall-modules/Prelude.nix { };
      };

in
  lib.fix' (lib.extends overrides packages)