Is there a way to fix this? The PDFium package seems to come deep down from dependency hell and despite searching and LLM asking I am still clouless.
I also tried to build without a sandbox but that did not seem to change the error. (I need this package relatively urgently so something like that would also be ok for me)
As soon as I got it working I will post it here again if you want. I will also try to get it into nixpkgs, but I have never contributed to nixpkgs before, so it might take a bit of time.
Ok, so i fixed some more errors but now I get a really weird one: mv: missing destination file operand after '/nix/store/yaxqlrnzws86zb6bzax21i57x7vkzpv7-saber-notes-0.25.1-main/app'
Despite never using mv in the script. I have no idea how to fix this. Can someone help?
If I delete the buildphase it complains about /etc/os-release/ not existing (already in the build phase). I did not find any hints on how to fix this yet but I will have a more thorough look into the documentation.
While currently it at least gets to the install phase
[ +14 ms] Failed obtaining PRETTY_NAME for Linux: PathNotFoundException: Cannot open file, path = ‘/usr/lib/os-release’ (OS Error: No such file or directory,
errno = 2)
You’ll have to figure out which part of the build upstream process is attempting to read os-release and patch it to a constant string such as NixOS. Some build processes just are annoying like that and attempt to do impure things.