Skip to content

Commit

Permalink
Use GHC that comes with Agda and expose it in the shell
Browse files Browse the repository at this point in the history
  • Loading branch information
geo2a committed Dec 13, 2024
1 parent a98ba32 commit 4e65a0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/agda.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -83,7 +83,7 @@ let
};

shell = pkgs.mkShell {
packages = [ agda latex ];
packages = [ agda latex customAgda.ghc customAgda.cabal-install];
};
};
in
Expand Down

0 comments on commit 4e65a0e

Please sign in to comment.