mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-09-11 15:55:30 +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}
|
|
];
|
|
}
|