summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-09-01 19:04:49 +0300
committerVika <vika@fireburn.ru>2024-09-04 19:51:50 +0300
commit00bfd4b9e2af68004014675ed6a2e35ffd33ab36 (patch)
tree91bb0f68de68f2381bac0d498afe9852c3a0859b
parent237c09966cc05f5aeeedfd93ef342dc8ff52eba2 (diff)
Add gettext manuals to the devshell
This is a hack.
-rw-r--r--flake.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index fad8145..c190706 100644
--- a/flake.nix
+++ b/flake.nix
@@ -61,6 +61,12 @@
 
         pkgs.desktop-file-utils
       ];
+
+      # Add gettext manuals to the manpath
+      shellHook = ''
+        export MANPATH=${pkgs.gettext.man}/share/man''${MANPATH:+:$MANPATH}''${PATH:+:''${PATH//\/bin/\/share\/man}}
+      '';
+
     };
   }); 
 }