From 86cdc9db7126d2bf752673ca134c0f69750bbc38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 14 Sep 2022 18:57:03 +0100 Subject: [PATCH] fix overlay hopefully --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 138625c..7dff57e 100644 --- a/flake.nix +++ b/flake.nix @@ -35,16 +35,16 @@ }; }) // { - overlays.default = final: prev: { + overlays.default = _: prev: { dhallPackages = prev.dhallPackages.override (self: { - overrides = self: super: { + overrides = _: super: rec { Prelude = super.Prelude.overridePackage { rev = "v22.0.0"; sha256 = "157x95yw9hibpifa8figawgclnc1d1bapmbp1zw60l2viy936b83"; }; inherit (self.packages.${prev.emptyDirectory.system}) dhall-nix-lib; 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;