Using `nix develop --command zsh` on macOS, pager and terminal color does not work

Hello, I am trying to use

nix develop --command zsh

on macOS. After enter this zsh, git log would no longer open pager, and some terminal applications’ color are broken.

% echo $TERM
xterm-256color

% nix --version
nix (Nix) 2.28.1

All settings and variables for git and pager are set.

caused by some version of nixpkgs set wrong DEVELOPER_DIR, just update flake