New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaging issue: "panic: read pages: is a directory" #279
Comments
Are you able to get WF running on NixOS with the normal setup instructions? Just to rule out any application issues. Based on the debug logs, it's trying to read
My first thought is that it might have to do with the symbolic link to the |
Binaries built for other Linux systems need to have their binaries patched to work on NixOS, so they won't work out of the box. The symlinks actually seem to be causing the issue here. I set the three options
Not supporting symlinks is somewhat unexpected for me, but I'll be able to work around that for nixpkgs/NixOS. Does it make sense to drill into why symlinks are not supported? If not, I'd consider this issue closed. |
It looks like the |
Just a 2021 update: if the code switches to using
|
Describe the bug
I'm trying to package writefreely for Nixpkgs but having trouble due to the mixed build systems.
I've got a working binary and I'm copying the {pages,static,templates} directory from your released binaries to verify my built binary.
The writefreely binary that I've built seems to be working fine for configuring (writefreely --config works), but after linking in the {pages,static,templates} directories, writefreely refuses to start and instead panics:
The error message does not make any sense for me. Of course pages is a directory. What's the actual issue here or how can I find out?
Expected behavior
Writefreely should have started
Application configuration
Version or last commit: 0.11.2
The text was updated successfully, but these errors were encountered: