1 let pkgs = (import <nixpkgs> {});
2 haskellPackages = pkgs.recurseIntoAttrs (pkgs.haskellPackages.override {
3 extension = self : super :
4 let callPackage = self.callPackage;
6 thisPackage = haskellPackages.callPackage (import ./default.nix) {};
8 in pkgs.lib.overrideDerivation haskellPackages.thisPackage (old: {
9 buildInputs = old.buildInputs ++ [
10 haskellPackages.cabalInstall