fix overlay hopefully

This commit is contained in:
Charlotte 🦝 Delenk 2022-09-14 18:57:03 +01:00
parent feb637855c
commit 86cdc9db71
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -35,16 +35,16 @@
}; };
}) })
// { // {
overlays.default = final: prev: { overlays.default = _: prev: {
dhallPackages = prev.dhallPackages.override (self: { dhallPackages = prev.dhallPackages.override (self: {
overrides = self: super: { overrides = _: super: rec {
Prelude = super.Prelude.overridePackage { Prelude = super.Prelude.overridePackage {
rev = "v22.0.0"; rev = "v22.0.0";
sha256 = "157x95yw9hibpifa8figawgclnc1d1bapmbp1zw60l2viy936b83"; sha256 = "157x95yw9hibpifa8figawgclnc1d1bapmbp1zw60l2viy936b83";
}; };
inherit (self.packages.${prev.emptyDirectory.system}) dhall-nix-lib; inherit (self.packages.${prev.emptyDirectory.system}) dhall-nix-lib;
dhall-to-nix-package = super.callPackage ./pkgs/dhall-to-nix-package.nix {}; dhall-to-nix-package = super.callPackage ./pkgs/dhall-to-nix-package.nix {};
import-dhall-package = path: let drv = super.callPackage (path + "/package.nix") { buildDhallDirectoryPackage = self.dhall-to-nix-package; }; in import "${drv}" (import ./runtime.nix final.lib); import-dhall-package = path: let drv = super.callPackage (path + "/package.nix") { buildDhallDirectoryPackage = dhall-to-nix-package; }; in import "${drv}" (import ./runtime.nix prev.lib);
}; };
}); });
inherit (self.packages.${prev.system}) dhall dhall-nix dhall-nixpkgs; inherit (self.packages.${prev.system}) dhall dhall-nix dhall-nixpkgs;