1 { stdenv, lib, nuspell, makeWrapper, dicts ? [] }:
4 searchPath = makeSearchPath "share/hunspell" dicts;
7 name = (appendToName "with-dicts" nuspell).name;
8 nativeBuildInputs = [ makeWrapper ];
10 makeWrapper ${nuspell}/bin/nuspell $out/bin/nuspell --prefix DICPATH : ${searchPath}
12 meta = removeAttrs nuspell.meta ["outputsToInstall"];