I was having problems running the LogSeq Desktop development environment from source code in NixOS.
This is because you cannot run dynamically linked executables intended for Linux environments out of the box.
And the dev tools that LogSeq use assumes an FHS environment.
I bet there is a more elegant way to solve this problem but this is my quick workaround to overcome the issue.
# shell.nix file