From aa92dca5ea57c044609bb7159fef0d33e8c74bc9 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Mon, 2 Oct 2023 11:40:29 -0400
Subject: [PATCH] get ghc in the release environment

cabal complains if it isn't there
---
 flake.nix | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/flake.nix b/flake.nix
index 9edd3f8..6ca72b9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -77,7 +77,10 @@
         program = "${
           pkgs.writeShellApplication {
             name = "release";
-            runtimeInputs = with pkgs; [cabal-install];
+            runtimeInputs = with pkgs; [
+              cabal-install
+              haskell.compiler.${ghcVersion}
+            ];
             text = ''
               set -x
               sdist=$(cabal sdist | tail -n 1)
-- 
GitLab