Allow NixOS system info directory to be found

This commit is contained in:
hab25
2022-11-05 21:04:07 -03:00
parent 5ecc1ced3c
commit d4f348c090

View File

@ -1,3 +1,10 @@
;;; info-workarounds.el --- Description -*- lexical-binding: t; -*-
;;; This file allows the `info` function to find other `info` files in the system.
;;; For non-NixOS GNU/Linux
(push "/usr/share/info" Info-directory-list)
;;; For NixOS
(push "/run/current-system/sw/share/info" Info-directory-list)
(push "~/.nix-profile/share/info" Info-directory-list)