[TeX Live] How include maps to "$TEXMF/web2c/updmap.cfg" in derivation?

I am writing one derivation for TeX Live package which is not in CTAN or in the NixOS repositories. It requires something like updmap-sys --enable Map=foo.map but for derivation. How should I do it?