diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/default.nix b/default.nix index a3ce768..c6cbdbd 100644 --- a/default.nix +++ b/default.nix @@ -1,6 +1,19 @@ { pkgs ? import sources.nixpkgs { overlays = [ (import ./pkgs { inherit (pkgs.haskell) lib; }) + (self: super: { + haskell = super.haskell // { + packageOverrides = self.lib.composeManyExtensions + [ + (super.haskell.packageOverrides or (self: super: self)) + (self: super: { + ghcWithPackages = super.ghcWithPackages.override { + installDocumentation = false; # XXX true (default) + }; + }) + ]; + }; + }) ]; } , sources ? import ./nix/sources.nix |