project = pkgs.haskell-nix.cabalProject {
src = ./.;
compiler-nix-name = "ghc964";
cabalProjectLocal = ''
packages: Vendor/google-oauth2
'';
};
Works. haskell.nix
's staff helped me.
https://github.com/input-output-hk/haskell.nix/issues/2411