jackkelly-name/shell.nix -rw-r--r-- 300 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ nixpkgs ? import <nixpkgs> {}
, compiler ? "default"
}:

let
  inherit (nixpkgs) pkgs;
  env = (import ./default.nix { inherit nixpkgs compiler; }).env;
in
  env.overrideAttrs (oldAttrs: {
    buildInputs = with pkgs.haskellPackages; oldAttrs.buildInputs ++ [
      cabal-install ghcid
    ];
  })