From 09b047f6b3236d73b27725131b8d5a1ab1242cdc Mon Sep 17 00:00:00 2001 From: maralorn Date: Sun, 17 Sep 2023 04:01:49 +0200 Subject: [PATCH] haskellPackages.reflex-dom: Backpin to unbreak --- .../configuration-hackage2nix/main.yaml | 3 +++ .../haskell-modules/hackage-packages.nix | 22 +++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index 17fdbb5bcad3..7c60d86faf9f 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -51,6 +51,9 @@ default-package-overrides: # ghc-lib-parser-ex >= 9.6, but LTS-21 contains ghc-lib-parser-ex-9.4 - stylish-haskell < 0.14.5.0 + # 2023-09-17: reflex-dom 0.6.3.0 is broken https://github.com/reflex-frp/reflex-dom/issues/462 + - reflex-dom < 0.6.2.0 + # Only an older version of dependent-sum-template is compatible with ghc 9.4 # https://github.com/obsidiansystems/dependent-sum-template/issues/5 - dependent-sum-template < 0.1.2 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index f374c1321759..47474a21a469 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -249657,6 +249657,27 @@ self: { }) {}; "reflex-dom" = callPackage + ({ mkDerivation, base, bytestring, jsaddle-webkit2gtk, reflex + , reflex-dom-core, text + }: + mkDerivation { + pname = "reflex-dom"; + version = "0.6.1.1"; + sha256 = "0ykkzmzxiznd09sgmjwzmbrpnm8gr2bd57hzdl8avrr728bwj8ga"; + revision = "2"; + editedCabalFile = "0jcsl5miv1wz385kln4ap079sp54dcnc37f3kb93m5a52dwbjx4p"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + base bytestring jsaddle-webkit2gtk reflex reflex-dom-core text + ]; + description = "Functional Reactive Web Apps with Reflex"; + license = lib.licenses.bsd3; + badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin; + maintainers = [ lib.maintainers.maralorn ]; + }) {}; + + "reflex-dom_0_6_3_1" = callPackage ({ mkDerivation, base, bytestring, jsaddle-webkit2gtk, reflex , reflex-dom-core, text }: @@ -249672,6 +249693,7 @@ self: { description = "Functional Reactive Web Apps with Reflex"; license = lib.licenses.bsd3; badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin; + hydraPlatforms = lib.platforms.none; maintainers = [ lib.maintainers.maralorn ]; }) {};