Change:
enableParallelChecking = true; checkTarget = "check"; <ins> passthru.docs = stdenv.mkDerivation { pname = "gnucash-docs"; inherit version; src = fetchFromGitHub { owner = "Gnucash"; repo = "gnucash-docs"; rev = version; hash = "sha256-aPxQEcpo8SPv8lPQbxMl1wg8ijH9Rz0oo4K5lp3C/bw="; }; nativeBuildInputs = [ cmake ]; buildInputs = [ libxml2 libxslt ]; }; </ins> preFixup = '' gappsWrapperArgs+=( <ins> # documentation --prefix XDG_DATA_DIRS : ${passthru.docs}/share </ins> # db drivers location --set GNC_DBD_DIR ${libdbiDrivers}/lib/dbd # gsettings schema location on Nix <del> --set GSETTINGS_SCHEMA_DIR ${glib.makeSchemaPath "$out" "${pname}-${version}"} </del> <ins> --set GSETTINGS_SCHEMA_DIR ${glib.makeSchemaPath "$out" "gnucash-${version}"} </ins> ) '';

Discussion:
application can't find help files Install from nixos release channel, go to main application screen, click on Help menu and select either "tutorial and concepts guide" or "contents". Application complains with a modal reporting "GnuCash could not find the files for the help documentation. This is likely because 'gnucash-docs' package is not installed." system: host os: multi-user?: sandbox: version: channels(root): channels(zarel): nixpkgs:
As a workaround: the very same documentation is available online at this address:
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . on the on .
still happening
Pinging maintainers
There is more to it. Gnucash installs its document files into plain without subdirectory. Because of that common files like do have collisions with analogous files in other packages. Edit: Ah, that's another issue. Which was resolved in
Documentation for Gnucash is a separate project: It should be separately build and installed in order for help files to be available.
I marked this as stale due to inactivity. &rarr;
I've built the documentation and put the documentation in the XDGDATADIRS. I can browse the manual and the tutorial via but running gnucash in debug mode says "Unsupported action" and according to strace the application doesn't try to open the documentation directories... and the same happens for evince (can see the documentation in yelp but the application won't display it), maybe it's the same issue
Not stale, I'm still having this issue
I marked this as stale due to inactivity. &rarr;
issue remains.
Thank you for the fix! Do you think is there a way to warn the user about not having yelp in a profile?

I don't think there are any convenient/good ways to tell the user about it. At best, we could add it to the description?
If gnucash documentation depends on yelp, would it make sense to express this dependency in the gnucash derivation?
Apparently, it must also be in MIME. This sort of stupid behaviour looks like an upstream bug to me.
If an application shipped its help files as HTML and required you to have a web browser installed to view them, I think it would be silly to add a dependency on any specific web browser. Likewise with help files - if (at least theoretically) Yelp is just one of several possible help file viewers, I don't think it makes sense to add a dependency on it. A better indication of what's wrong ("you need to install a help viewer" rather than "couldn't find the docs") would be nice, though, which I presume is only really doable upstream.