From 467f5212b999a665671db191079734209d77b7ee Mon Sep 17 00:00:00 2001 From: Max Tomago <noreply@tomagotech.com> Date: Mon, 26 Sep 2022 18:13:33 +0100 Subject: [PATCH] ghc-exactprint: init at upstream GHC 9.4 branch --- flake.nix | 4 ++++ overlay.nix | 2 ++ 2 files changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 93ce0cbb..cfa201b7 100644 --- a/flake.nix +++ b/flake.nix @@ -42,6 +42,10 @@ }; flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.inputs.nixpkgs.follows = "nixpkgs"; + ghc-exactprint = { + url = "github:alanz/ghc-exactprint?ref=ghc-9.4"; + flake = false; + }; haskell-src-meta = { url = "github:parsonsmatt/haskell-src-meta?ref=matt/support-new-th"; flake = false; diff --git a/overlay.nix b/overlay.nix index 5e4bb134..ad8481a6 100644 --- a/overlay.nix +++ b/overlay.nix @@ -149,6 +149,8 @@ final: prev: with pkgs.haskell.lib; { ghc-byteorder = doJailbreak (prev.callHackage "ghc-byteorder" "4.11.0.0.10" { }); + ghc-exactprint = prev.callCabal2nix "ghc-exactprint" inputs.ghc-exactprint { }; + ghc-lib-parser = doJailbreak (prev.callHackage "ghc-lib-parser" "9.4.2.20220822" { }); ghc-lib-parser-ex = doJailbreak (prev.callHackage "ghc-lib-parser-ex" "9.4.0.0" { }); -- GitLab