From 22c75b75c56da9f4e625e15587aae2efc784ec0d Mon Sep 17 00:00:00 2001 From: Deniz Alp Date: Tue, 22 Feb 2022 15:16:44 +0300 Subject: [PATCH] haskellPackages.xdot: Apply patch bumping upper bound on base --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 9592ba5de348..100b0b4f8359 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -49,6 +49,14 @@ self: super: { ghc-datasize = disableLibraryProfiling super.ghc-datasize; ghc-vis = disableLibraryProfiling super.ghc-vis; + # The upper bound on xdot's base dependency broke the build of xdot and its + # dependants so here we bump it: + # > https://github.com/def-/xdot/pull/12 + xdot = appendPatch (pkgs.fetchpatch { + url = "https://github.com/def-/xdot/commit/574dce2b834917126590f4a3df53c00fb7f4fee1.patch"; + sha256 = "sha256-T5mo/XHBMFup6hlqEvIT+VbLGRuGEe4qigJtJCL5KmQ="; + }) super.xdot; + # We can remove this once fakedata version gets to 1.0.1 as the test suite # works fine there. fakedata = dontCheck super.fakedata;