From 46631f08a80d322e239dd8bd4af786d9d0e04e0a Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sat, 4 Dec 2021 18:43:38 +0100 Subject: [PATCH] haskellPackages.rel8: downgrade to 1.2.0.0 for stackage LTS compat --- .../configuration-hackage2nix/main.yaml | 2 ++ .../haskell-modules/hackage-packages.nix | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index e54549e89915..43700e7a7630 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -122,6 +122,8 @@ default-package-overrides: - gi-webkit2webextension < 4.0.27 - gi-wnck < 3.0.11 # gi-cogl, gi-coglpango, gi-clutter, gi-json, gi-rsvg are only available for haskell-gi >= 0.26 + # 1.2.1.0 needs opaleye >= 0.8 which stackage doesn't provide + - rel8 < 1.2.1.0 extra-packages: - base16-bytestring < 1 # required for cabal-install etc. diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 17fa519c9bd4..79c787a0db09 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -230879,6 +230879,33 @@ self: { }) {}; "rel8" = callPackage + ({ mkDerivation, aeson, base, bifunctors, bytestring + , case-insensitive, comonad, containers, contravariant, hasql + , hasql-transaction, hedgehog, mmorph, opaleye, pretty + , product-profunctors, profunctors, scientific, semialign + , semigroupoids, tasty, tasty-hedgehog, text, these, time + , tmp-postgres, transformers, uuid + }: + mkDerivation { + pname = "rel8"; + version = "1.2.0.0"; + sha256 = "0nslc1hsgvv9j5lyf4zi6b3jkakfkv49j9pjan141j1cb0cbpgwa"; + libraryHaskellDepends = [ + aeson base bifunctors bytestring case-insensitive comonad + contravariant hasql opaleye pretty product-profunctors profunctors + scientific semialign semigroupoids text these time uuid + ]; + testHaskellDepends = [ + base bytestring case-insensitive containers hasql hasql-transaction + hedgehog mmorph scientific tasty tasty-hedgehog text time + tmp-postgres transformers uuid + ]; + description = "Hey! Hey! Can u rel8?"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ sternenseemann ]; + }) {}; + + "rel8_1_2_1_0" = callPackage ({ mkDerivation, aeson, base, bifunctors, bytestring , case-insensitive, comonad, containers, contravariant, hasql , hasql-transaction, hedgehog, mmorph, opaleye, pretty @@ -230902,6 +230929,7 @@ self: { ]; description = "Hey! Hey! Can u rel8?"; license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; maintainers = with lib.maintainers; [ sternenseemann ]; }) {};