From d4f348c090f1f72dad8c5fdde9a65cc3b5dfebfc Mon Sep 17 00:00:00 2001 From: hab25 <31970961+hab25@users.noreply.github.com> Date: Sat, 5 Nov 2022 21:04:07 -0300 Subject: [PATCH] Allow NixOS system info directory to be found --- info-workarounds.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/info-workarounds.el b/info-workarounds.el index 821eb2a..11b24b4 100644 --- a/info-workarounds.el +++ b/info-workarounds.el @@ -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)