The look program should look up words in the system dictionary, which either should be present at /usr/share/dict/words or another location.
$ look help
look: /usr/share/dict/words: No such file or directory
zsh: exit 1 look help
$ nixos-version
16.03.909.f199be0 (Emu)
$ nix-env --version
nix-env (Nix) 1.11.2
$ nix-instantiate --eval '
"16.03.909.f199be0"
$ nix-instantiate --eval ~/Development/nixpkgs -A lib.nixpkgsVersion
"16.09pre-git"
Is there any package providing the words file?
Not sure if a package in Nix provides it. In ubuntu, it is provided thus
It doesn't look like any package is specifically providing it. Maybe we should package the words package as described in the Arch User Repository ( https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/words ) and add it as a dependency on util-linux
I might take a swing at packaging words but this would also require patching util-linux to make look use the dictionaries from the package. Not sure if I know how that would be done.
It looks like nixpkgs.scowl provides this list for us. But, I don't think we want to put it in everyone's closure. Instead, I think we can make a NixOS module using the WORDLIST env var
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Most helpful comment
It doesn't look like any package is specifically providing it. Maybe we should package the words package as described in the Arch User Repository ( https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/words ) and add it as a dependency on util-linux