From 67c5d844e1ad4289823ea0d771b9ea9d1bc51314 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Thu, 3 Jun 2021 01:35:28 +0200 Subject: [PATCH] haskellPackages.hnix: make build with relude < 1.0 The commits we revert still do the trick, but we need to revert one additional commit now which increases the lower version bound for relude. --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4a85a2205f24..96be9da9a20b 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -203,6 +203,12 @@ self: super: { sha256 = "0pqmijfkysjixg3gb4kmrqdif7s2saz8qi6k337jf15i0npzln8d"; revert = true; }) + # allow relude < 1.0 again + (pkgs.fetchpatch { + url = "https://github.com/haskell-nix/hnix/commit/f4ea5dcb344369916586498ba33c00d0fc605a79.patch"; + sha256 = "1ajl7d49d658xhalgf3pc5svmbq73dsysy6z434n75vb1357mx86"; + revert = true; + }) ] ++ (drv.patches or []); # make sure patches are not broken by cabal file revisions revision = null;