R
Railway

✋|help

Libreoffice

Zzlapp8/25/2023
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']


and export in bash export

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)


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
Solution
Bbrody1928/25/2023
fontconfig is also an apt package, so try moving that package to the aptPkgs array instead
Bbrody1928/26/2023
I have confirmed this works when you move fontconfig to the aptPkgs array

Looking for more? Join the community!