R
Railway13mo ago
shving90

Libreoffice

Hi I need libreoffice installed to use in my code. I attempted using the below nixpacks.toml
[phases.setup]
nixPkgs = ['...', 'libreoffice','fontconfig']
aptPkgs = ['...', 'gcc', 'g++','libstdc++6']
[phases.setup]
nixPkgs = ['...', 'libreoffice','fontconfig']
aptPkgs = ['...', 'gcc', 'g++','libstdc++6']
and export in bash export
export FONTCONFIG_PATH=/etc/fonts
export FONTCONFIG_PATH=/etc/fonts
and got this warning and as a result the font was not as expected
Fontconfig error: Cannot load default config file: No such file: (null)
Fontconfig error: Cannot load default config file: No such file: (null)
Any advice on how to resolve?
Solution:
fontconfig is also an apt package, so try moving that package to the aptPkgs array instead
Jump to solution
2 Replies
Solution
Brody
Brody13mo ago
fontconfig is also an apt package, so try moving that package to the aptPkgs array instead
Brody
Brody13mo ago
I have confirmed this works when you move fontconfig to the aptPkgs array
Want results from more Discord servers?
Add your server