So would the equivalent for someone using a bash shell be export FONTCONFIG_FILE ${pkgs.fontconfig.out}/etc/fonts/fonts.conf
?
What worked directly for me in my mkShell was:
shellHook = ''
export FONTCONFIG_FILE=${pkgs.fontconfig.out}/etc/fonts/fonts.conf
source ~/.bashrc
''
But now my GUI emacs is broken… Gotta figure out how to help it find inconsolata 14.