Accessing current Nixpacks file
I need to install Poppler on my Railway environment. From what I can see one way to do this is via the Nixpacks file. I don't currently have one on my local. Is there a way to install Poppler via the Railway GUI. If not, is there a way to get the current Nixpacks file so I can add Poppler, without risking breaking other stuff by writing the Nixpacks file from scratch.
8 Replies
Project ID:
N/A
N/A
you dont need to write one from scratch at all, you can just add onto it like so
the
...
is an extending array, it adds poppler
onto whatever nix packages that nixpacks was already going to installThanks mate! How do I find the path to poppler - I need to specify it in my code.
do you though? wouldnt whatever library you are using check the $PATH? and i assume thats where poppler would be
You're probably right. ChatGPT seems to think I need to specify the path, but should probably test first
let me know how that goes!
Are there any changes to this? if I use ['...', 'poppler'] in my nixpacks.toml I still get 'Unable to get page count. Is poppler installed and in PATH?'