From 29229016f92a23391f71d9f4c4dab82cfcb8ebac Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Mon, 21 Jun 2021 12:43:24 +0200 Subject: [PATCH] haskellPackages.blucontrol: 0.5.0.0 -> 0.5.1.1 Unbreaks build since X11 >= 1.10 is supported as well. --- .../haskell-modules/configuration-common.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index d9560a2c4003..38f3e8b50c3c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1947,4 +1947,16 @@ EOT # Break out of "Cabal < 3.2" constraint. stylish-haskell = doJailbreak super.stylish-haskell; + # Upgrade blucontrol ahead of hackage snapshot to 0.5.1.1 + # for relaxed bounds on X11 + blucontrol = let patchedVersion = "0.5.1.1"; in + assert pkgs.lib.versionOlder super.blucontrol.version patchedVersion; + overrideSrc super.blucontrol { + version = patchedVersion; + src = pkgs.fetchurl { + url = "https://hackage.haskell.org/package/blucontrol-${patchedVersion}/blucontrol-${patchedVersion}.tar.gz"; + sha256 = "0v3ifwxjbxm86ybn5daqqfdm4nmbfzlbkyc19d4nawnzjyf8v2p9"; + }; + }; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super