From 00bfd4b9e2af68004014675ed6a2e35ffd33ab36 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 1 Sep 2024 19:04:49 +0300 Subject: Add gettext manuals to the devshell This is a hack. --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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}} + ''; + }; }); } -- cgit 1.4.1