From 4e65a0efa106aefd35f6731090079d117b6a055c Mon Sep 17 00:00:00 2001 From: Georgy Lukyanov Date: Fri, 13 Dec 2024 11:46:26 +0100 Subject: [PATCH] Use GHC that comes with Agda and expose it in the shell --- nix/agda.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/agda.nix b/nix/agda.nix index 03f91165c9..c41b532a5d 100644 --- a/nix/agda.nix +++ b/nix/agda.nix @@ -49,7 +49,7 @@ let }; deps = [ agdaStdlib agdaStdlibClasses agdaStdlibMeta ]; - agdaWithPkgs = p: customAgda.agda.withPackages { pkgs = p; ghc = pkgs.ghc; }; + agdaWithPkgs = p: customAgda.agda.withPackages { pkgs = p; }; attrs = pkgs.recurseIntoAttrs rec { agda = agdaWithPkgs deps; @@ -83,7 +83,7 @@ let }; shell = pkgs.mkShell { - packages = [ agda latex ]; + packages = [ agda latex customAgda.ghc customAgda.cabal-install]; }; }; in