aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 40ee189e1f5aad4ab15fb740c7bdfe8068352aa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
let
  pkgs = import <nixpkgs> { };

  ghc = with pkgs.haskell.lib;
    pkgs.ghc.withPackages (pkgs:
      with pkgs;
      [
        hlint
        (doJailbreak (markUnbroken
          (biohazard.overrideAttrs (_: { patches = [ ./biohazard.patch ]; }))))
      ]);
in pkgs.mkShell { buildInputs = [ ghc ]; }