Build python package miss -I -I/tmp/build-env-XXXXXXXX/include

I try to build a python package containing some C code in NixOS. pyproject-build works for me, However nix-build cannot. the error message tell me some header file cannot be found. I digest the difference between pyproject-build and nix-build:

# pyproject-build:
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DPy_LIMITED_API=0x03080000 -DPY_SSIZE_T_CLEAN -Isrc -I/tmp/build-env-v7y5_mip/include -I/nix/store/7wz6hm9i8wljz0hgwz1wqmn2zlbgavrq-python3-3.11.8/include/python3.11 -c src/parser.c -o build/temp.linux-x86_64-cpython-311/src/parser.o -std=c11
# nix-build
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DPy_LIMITED_API=0x03080000 -DPY_SSIZE_T_CLEAN -Isrc -I/nix/store/7wz6hm9i8wljz0hgwz1wqmn2zlbgavrq-python3-3.11.8/include/python3.11 -c src/parser.c -o build/temp.linux-x86_64-cpython-311/src/parser.o -std=c11

nix-build miss -I/tmp/build-env-v7y5_mip/include. How can I add it?