blog.nek0.eu/default.nix
2019-12-19 17:52:54 +01:00

11 lines
431 B
Nix

{ pkgs ? import <nixpkgs> (import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz))
, haskellCompiler ? "ghc865"
}:
pkgs.haskell-nix.cabalProject {
src = pkgs.haskell-nix.haskellLib.cleanGit { src = ./.; };
ghc = pkgs.buildPackages.pkgs.haskell-nix.compiler.${haskellCompiler};
modules = [
{ packages."fail".components."library".doHaddock = false;
}
];
}