{ compiler ? "default" , nixpkgs ? import {} }: let inherit (nixpkgs) lib pkgs; haskellPackages = if compiler == "default" then pkgs.haskellPackages else pkgs.haskell.packages.${compiler}; drv = haskellPackages.callPackage (import ./.) {}; in lib.overrideDerivation drv.env (oldAttrs: { buildInputs = [ pkgs.cabal-install ]; })