1 { pkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }:
2 let hspkgs = pkgs.haskell.packages.${compiler}.override {
3 overrides = self: super: {
4 this = self.callPackage ./. {};
7 hsWithTools = pkgs.lib.overrideDerivation hspkgs.this (attrs: with pkgs; {
8 buildInputs = [ /* Other deps */ ] ++ attrs.buildInputs;