Hi,
I wrote a package for a commandline tool, which expects a dictionary file. By default the tool expects the dict file in /usr/share/dict/american-english
. On a conventional linux distro like debian this comes with the package wamerican-insane
, which itself fetches it from the aspell project afaik.
Now, I could just add the dict file to the flake. But the tool in question would still expect it in the said location. Although it has an option with which the user could specify any dict file, it would be better - from a packager point of view - to provide some kind of default.
In this particular case I am also the maintainer of the tool, so I could just add a build flag so that another default location could be provided at build time. However, what would I do, if I’m not the maintainer? How do “nix people” solve these kind of problems usually?
Thanks in advance,
Tom