mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
1ae90c5118
Fixes https://github.com/NixOS/nixpkgs/issues/138374 The build failure in the above issue is due to `pkgs.dhallPackages.dhall-packages` transitively depending on an older Prelude version (12.0.0) that is incompatible with newer Dhall versions. I first attempted to upgrade `pkgs.dhallPackages.dhall-packages`, but that failed due to a bad hash on an internal import, so I'm removing the build instead.
39 lines
962 B
Nix
39 lines
962 B
Nix
{ 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 { };
|
|
|
|
in
|
|
{ inherit
|
|
callPackage
|
|
buildDhallPackage
|
|
buildDhallGitHubPackage
|
|
buildDhallDirectoryPackage
|
|
;
|
|
|
|
lib = import ../development/dhall-modules/lib.nix { inherit lib; };
|
|
|
|
dhall-kubernetes =
|
|
callPackage ../development/dhall-modules/dhall-kubernetes.nix { };
|
|
|
|
Prelude =
|
|
callPackage ../development/dhall-modules/Prelude.nix { };
|
|
};
|
|
|
|
in
|
|
lib.fix' (lib.extends overrides packages)
|