Nixpkgs: util-linux `look` searches for `/usr/share/dict/words` which does not exist

Created on 27 Jun 2016  路  6Comments  路  Source: NixOS/nixpkgs

Issue description

The look program should look up words in the system dictionary, which either should be present at /usr/share/dict/words or another location.

Steps to reproduce

$ look help
look: /usr/share/dict/words: No such file or directory
zsh: exit 1     look help

Technical details

  • System:

$ nixos-version
16.03.909.f199be0 (Emu)

  • Nix version:

$ nix-env --version
nix-env (Nix) 1.11.2

  • Nixpkgs version:

$ nix-instantiate --eval '' -A lib.nixpkgsVersion
"16.03.909.f199be0"

$ nix-instantiate --eval ~/Development/nixpkgs -A lib.nixpkgsVersion
"16.09pre-git"

stale

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

All 6 comments

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:

  1. Search for maintainers and people that previously touched the
    related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on
    irc.freenode.net.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

grahamc picture grahamc  路  3Comments

edolstra picture edolstra  路  3Comments

lverns picture lverns  路  3Comments

yawnt picture yawnt  路  3Comments

matthiasbeyer picture matthiasbeyer  路  3Comments