mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-03 12:27:27 -05:00
Allow NixOS system info directory to be found
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
;;; info-workarounds.el --- Description -*- lexical-binding: t; -*-
|
;;; 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)
|
(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)
|
(push "~/.nix-profile/share/info" Info-directory-list)
|
||||||
|
Reference in New Issue
Block a user