From ff7abeabe9c2b8e9ef0d47d8ef8cafc64b6d609f Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 26 Jul 2022 13:33:07 +0200 Subject: [PATCH] haskellPackages.hasql-dynamic-statements: downgrade to 0.3.1.1 We still ship hasql 1.5 due to stackage which is not compatible with 0.3.1.2. --- .../configuration-hackage2nix/main.yaml | 2 ++ .../haskell-modules/hackage-packages.nix | 21 +++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index a79e09403710..fb0aacb4ef4e 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -89,6 +89,8 @@ default-package-overrides: - patch < 0.0.7 - reflex < 0.8.2.1 - reflex-dom-core < 0.7.0.2 + # Downgrade hasql-dynamic-statements until hasql 1.6 is in Stackage + - hasql-dynamic-statements < 0.3.1.2 extra-packages: - aeson < 2 # required by pantry-0.5.2 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 90ae511dee2b..f8c9c7191f05 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -130176,6 +130176,26 @@ self: { }) {}; "hasql-dynamic-statements" = callPackage + ({ mkDerivation, base, bytestring, containers, hasql + , hasql-implicits, ptr, QuickCheck, quickcheck-instances, rerebase + , tasty, tasty-hunit, tasty-quickcheck + }: + mkDerivation { + pname = "hasql-dynamic-statements"; + version = "0.3.1.1"; + sha256 = "1bc7l6l6ss9grgphnb0sks08v0wx0aalja4rkjzp49p5m6g82rc6"; + libraryHaskellDepends = [ + base bytestring containers hasql hasql-implicits ptr + ]; + testHaskellDepends = [ + hasql QuickCheck quickcheck-instances rerebase tasty tasty-hunit + tasty-quickcheck + ]; + description = "Toolkit for constructing Hasql statements dynamically"; + license = lib.licenses.mit; + }) {}; + + "hasql-dynamic-statements_0_3_1_2" = callPackage ({ mkDerivation, base, bytestring, containers, hasql , hasql-implicits, ptr, QuickCheck, quickcheck-instances, rerebase , tasty, tasty-hunit, tasty-quickcheck @@ -130193,6 +130213,7 @@ self: { ]; description = "Toolkit for constructing Hasql statements dynamically"; license = lib.licenses.mit; + hydraPlatforms = lib.platforms.none; }) {}; "hasql-explain-tests" = callPackage