Because it most likely comes from the boot.tmpOnTmpfs option in configuration.nix (managed declaratively).
--option
nix-build