Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { nixpkgs ? import ./nix/nixpkgs.nix
- , compiler ? "default"
- }:
- let
- inherit (nixpkgs) pkgs;
- all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
- in
- pkgs.mkShell {
- buildInputs = with pkgs.haskellPackages; [ ghc ghcid ]; environment.systemPackages = [
- # Install stable HIE for GHC 8.6.4, 8.6.3 and 8.4.3
- (all-hies.selection { selector = p: { inherit (p) ghc864; }; })
- ];
- }
Advertisement
Add Comment
Please, Sign In to add comment