Skip to content

Instantly share code, notes, and snippets.

@rprospero
Created January 26, 2018 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rprospero/922a75564dc38c4c07167c1a693eca05 to your computer and use it in GitHub Desktop.
Save rprospero/922a75564dc38c4c07167c1a693eca05 to your computer and use it in GitHub Desktop.
let
myDict = pkgs.hunspellDicts.en-gb-ise.overrideAttrs (old: rec {
postInstall = ''
ln -sv ${pkgs.hunspellDicts.en-gb-ise}/share/hunspell/en_GB-ise.aff ${pkgs.hunspellDicts.en-gb-ise}/share/hunspell/en_GB.aff
ln -sv ${pkgs.hunspellDicts.en-gb-ise}/share/hunspell/en_GB-ise.dic ${pkgs.hunspellDicts.en-gb-ise}/share/hunspell/en_GB.dic
'';
});
in
{
users.extraUsers.rprospero.packages = [myDict];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment