Heat oil in a large sauté pan over medium-high heat. Add shallots and cook, until soft, about 3 minutes. Add squash. Season with salt and freshly ground pepper. Cook, stirring occasionally, until browned, 8 to 10 minutes. Add nutmeg, sage and chicken stock and cook another 5 minutes. Place squash mixture into pie or gratin pan.