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 ]; }