From eaf0353d0907b7d31f9a2e4ed6bb51751fa35e1e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 19 Dec 2024 14:46:16 -0800 Subject: fix the configuration for aspell --- nix/users/fcuny/shell.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'nix') diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index 374a466..b7d30d0 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -1,4 +1,8 @@ -{ config, pkgs, ... }: +{ + lib, + pkgs, + ... +}: let isLinux = pkgs.stdenv.isLinux; in @@ -88,7 +92,12 @@ in }; home.sessionVariables = { - ASPELL_CONF = "conf ${config.xdg.configHome}/aspell/config;"; + ASPELL_CONF = "dict-dir ${ + pkgs.buildEnv { + name = "aspell-all-dicts"; + paths = lib.collect lib.isDerivation pkgs.aspellDicts; + } + }/lib/aspell"; EDITOR = "emacsclient -a="; HOMEBREW_NO_AUTO_UPDATE = 1; LESS = "-FRSXM"; -- cgit 1.4.1