dotfiles/modules/common/programming/haskell.nix

13 lines
357 B
Nix
Raw Normal View History

2024-04-20 13:42:06 +00:00
{ config, lib, ... }:
{
2022-07-04 23:17:58 +00:00
2022-12-21 21:18:03 +00:00
options.haskell.enable = lib.mkEnableOption "Haskell programming language.";
config = lib.mkIf config.haskell.enable {
# Binary Cache for Haskell.nix
2024-04-20 13:42:06 +00:00
nix.settings.trusted-public-keys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ];
2022-12-21 21:18:03 +00:00
nix.settings.substituters = [ "https://cache.iog.io" ];
};
2022-07-04 23:17:58 +00:00
}