-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
NixOS manual: docbook schema configuration uses missing path #24959
Comments
I have the file When I remove Is docbook5 in the list when you run |
Yes, but even so the
|
Hi @jmitchell, Just checking, do you now have |
I would suspect that this only works for some users because some module puts Instead of setting global paths in you profile, I would recommend to follow the suggestion in https://github.com/NixOS/nix-pills#development, along with a simplified config from #68236 |
Thank you for your contributions.
|
docbook is no longer used for the manuals :) |
Issue description
While following the instructions in the manual to support DocBook 5 XML editing in Emacs I discovered the recommended schema configuration doesn't work when
docbook5
is installed viaenvironment.systemPackages
. Specifically,/run/current-system/sw/share/xml/docbook-5.0/rng/docbookxi.rnc
doesn't exist.Steps to reproduce
docbook5
toenvironment.systemPackages
in/etc/nixos/configuration.nix
nixos-rebuild switch
(add-to-list 'rng-schema-locating-files "~/.emacs.d/schemas.xml")
to Emacs configuration~/.emacs.d/schemas.xml
$NIXPKGS/doc/manual.xml
in Emacs.*Messages*
buffer and see the following error:/run/current-system/sw/share
has noxml
directory.Workaround
Use the other suggested approach where
docbook5
is installed ad-hoc and thedocbookxi.rnc
path in theschemas.xml
points to user profile instead.Technical details
The text was updated successfully, but these errors were encountered: