about summary refs log tree commit diff
path: root/third_party/overlays
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-12-29T10·36+0100
committertazjin <tazjin@tvl.su>2022-12-29T20·06+0000
commit80f1d396dff72a94d159a25ce2589b407eb00c10 (patch)
treee84b9356180da434b7b1c0ad7468f8cb67a04788 /third_party/overlays
parent5a063def51c72611c98fa2aadaa4c938a12271fa (diff)
chore(grfn/xanthous): port to brick-0.73 r/5544
This is the latest version before 1.0 which has some bigger changes as
brick's EventM gains the ability to be MonadState which requires
adjusting basically all App code.

In 0.72, handleEditorEvent started taking a BrickEvent, so we no longer
need to unwrap the VtyEvent in handlePromptEvent.

Change-Id: Ic6a1ce6e21ba46177d3ce0b8a124abe7d8951464
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7666
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'third_party/overlays')
-rw-r--r--third_party/overlays/haskell/default.nix7
-rw-r--r--third_party/overlays/haskell/extra-pkgs/brick-0.73.nix (renamed from third_party/overlays/haskell/extra-pkgs/brick-0.71.1.nix)4
2 files changed, 4 insertions, 7 deletions
diff --git a/third_party/overlays/haskell/default.nix b/third_party/overlays/haskell/default.nix
index 6116c5c339..f91cb120a8 100644
--- a/third_party/overlays/haskell/default.nix
+++ b/third_party/overlays/haskell/default.nix
@@ -58,11 +58,8 @@ in
         random-fu = hsSelf.callPackage ./extra-pkgs/random-fu-0.2.nix { };
         rvar = hsSelf.callPackage ./extra-pkgs/rvar-0.2.nix { };
 
-        # TODO(grfn): port to brick 1.4
-        # Breaking changes since 0.68:
-        # - handleEditorEvent takes a BrickEvent (0.72)
-        # - EventM gains an additional type argument (1.0)
-        brick = hsSelf.callPackage ./extra-pkgs/brick-0.71.1.nix { };
+        # TODO(grfn): port to brick 1.4 (EventM gains an additional type argument in 1.0)
+        brick = hsSelf.callPackage ./extra-pkgs/brick-0.73.nix { };
 
         # TODO(sterni): upstream into nixpkgs
         binary-orphans =
diff --git a/third_party/overlays/haskell/extra-pkgs/brick-0.71.1.nix b/third_party/overlays/haskell/extra-pkgs/brick-0.73.nix
index e49be075c6..c5e2883c75 100644
--- a/third_party/overlays/haskell/extra-pkgs/brick-0.71.1.nix
+++ b/third_party/overlays/haskell/extra-pkgs/brick-0.73.nix
@@ -27,8 +27,8 @@
 }:
 mkDerivation {
   pname = "brick";
-  version = "0.71.1";
-  sha256 = "49701466384534b131650bec0a2b3c4811b410a3e55a392edef8d5fa6322d254";
+  version = "0.73";
+  sha256 = "741c8d0717f0ab5addd5d3acc88cb36d645a0c73907bde509b2fd9d9bc02039c";
   isLibrary = true;
   isExecutable = true;
   libraryHaskellDepends = [