From d85c885dc4780b6622bd229ebd8579b91393861c Mon Sep 17 00:00:00 2001
From: Martin Milata <martin@martinmilata.cz>
Date: Mon, 17 Feb 2020 03:11:12 +0100
Subject: [PATCH] nixos: add /share/hunspell to environment.pathsToLink

So that applications can find hunspell dictionaries installed through
environment.systemPackages.
---
 nixos/modules/config/system-path.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix
index aba9bc0945b1..4100ec897016 100644
--- a/nixos/modules/config/system-path.nix
+++ b/nixos/modules/config/system-path.nix
@@ -116,6 +116,7 @@ in
         "/lib" # FIXME: remove and update debug-info.nix
         "/sbin"
         "/share/emacs"
+        "/share/hunspell"
         "/share/nano"
         "/share/org"
         "/share/themes"