Guest User

Untitled

a guest
Feb 29th, 2020
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. { nixpkgs ? import ./nix/nixpkgs.nix
  2. , compiler ? "default"
  3. }:
  4. let
  5.   inherit (nixpkgs) pkgs;
  6.   all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
  7. in
  8. pkgs.mkShell {
  9.   buildInputs = with pkgs.haskellPackages; [ ghc ghcid ]; environment.systemPackages = [
  10.     # Install stable HIE for GHC 8.6.4, 8.6.3 and 8.4.3
  11.     (all-hies.selection { selector = p: { inherit (p) ghc864; }; })
  12.   ];
  13. }
Advertisement
Add Comment
Please, Sign In to add comment