I seem to remember the existence of a phrasal verb to mean that a place is getting to your head, i.e. the place is starting to influence your choices and/or changing your persona. I though "it grows on you" could work but apparently it means something completely different.

Some examples:

1.

> 
> In *The Shining* Jack Torrance is first portrayed as a normal family man, but the more time he spends in the house the more the place starts to X (on) him.
> 
> 
> 

2.

> 
> Everyone moving from a tropical country to a Nordic country reports how the lack of light can truly effect one's perception of the world. The greyness of the sky can quickly [X] (on) you, which goes a long way explaining the high rates of suicide among expatriates.
> 
> 
> 

Any suggestion is welcomed!