summaryrefslogtreecommitdiff
path: root/shell.nix
blob: b1412892019c22ec36e2c09a8a4ef707158d7e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  isDevelopmentShell ? true
}:

let
  nixpkgs = import ./nix/nixpkgs.nix;
  basepkgs = import ./Biz/packages.nix { inherit (nixpkgs) pkgs; };
  devpkgs = with nixpkgs; [
    hlint
    niv
    ormolu
    python37Packages.black
    python37Packages.pylint
    wemux
  ]
in nixpkgs.mkShell ({
  name = "bizdev";
  buildInputs = devpkgs ++ basepkgs.environment.systemPackages;
  shellHook = ''
    echo "biz" | ${nixpkgs.figlet}/bin/figlet | ${nixpkgs.lolcat}/bin/lolcat
  '';
})