Currently running `stack build --profile` and then `stack build` triggers unregistering and rebuilding of all dependencies. It's not supposed to do that.