mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-07-07 04:26:34 +03:00
16 lines
253 B
Nix
16 lines
253 B
Nix
{ pkgs, ghcVersion ? "9.0" }:
|
|
|
|
let
|
|
supportedGhcVersions = {
|
|
"8.10" = pkgs.haskell.ghc8107;
|
|
"9.0" = pkgs.haskell.ghc901;
|
|
};
|
|
in
|
|
pkgs.mkShell {
|
|
buildInputs = [
|
|
pkgs.cabal-install
|
|
pkgs.zsh
|
|
supportedGhcVersions.${ghcVersion}
|
|
];
|
|
}
|