9 months ago
I am trying to install a django project.
It has python-magic as a dependency
TOML FILE:
[phases.setup]
nixPkgs = ["...", "file", "zlib"]
If i add libmagic here its not found so i instead get file (which includes it apparently)
When it gets to deployment however libmagic is not found.
I have tried
1. explicity adding libmagic to nixPkgs
2. Adding apt-get install libmagic on build command - results in gclib2.36/.38 version not found
Link to service being deployed:
https://github.com/123xylem/Marketify-Ecommerce-App/blob/master/backend
Please help as im tearing my hair out now
2 Replies
9 months ago
Edit I have also tried apt install libmagic-dev
and nixPkg [ libmagic-full]
Im not sure if the issue is package wrongly named or package being installed but not added correctly to library folder
9 months ago
UPDATE:
I had to use a docker file in the end. Which means I made a docker file telling railway exactly how to build it.
Very time consuming bug.
Status changed to Solved brody • 9 months ago