15 lines
365 B
Nix
Raw Normal View History

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