-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
util-linux look
searches for /usr/share/dict/words
which does not exist
#16545
Comments
Is there any package providing the |
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 |
It looks like |
Thank you for your contributions.
|
still important to me. After installing |
Addresses NixOS#16545. Allows for user defined environment variables that hold paths to wordlists. This is to allow for easy access to wordlists for users and scripts, (in other distributions a convenient wordlist is typically found in /usr/share/dict/words or similar). The default wordlist is the one found in scowl, for no other reason than that's the one that was mentioned in the linked issue. It is possible to specify multiple environment variables as well. This is for users who need multiple wordlists (such as multilingual users).
Addresses NixOS#16545. Allows for user defined environment variables that hold paths to wordlists. This is to allow for easy access to wordlists for users and scripts, (in other distributions a convenient wordlist is typically found in /usr/share/dict/words or similar). The default wordlist is the one found in scowl, for no other reason than that's the one that was mentioned in the linked issue. It is possible to specify multiple environment variables as well. This is for users who need multiple wordlists (such as multilingual users).
It seems like my PR is in the final stages of review. If anyone has any good suggestions for it, please let me know! |
#158034 has been merged 🥳 To use it simply set As far as I am aware, this is everything needed to finally put this issue to bed, so I'm going to close this issue. Special thanks to @pennae and the rest of the folken in the NixOS Dev Matrix Chat for guiding me through the process of making my first module. Thanks to @rissson for giving me a review. And thanks @Synthetica9 for the merge. |
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
Technical details
$ nixos-version
16.03.909.f199be0 (Emu)
$ nix-env --version
nix-env (Nix) 1.11.2
$ nix-instantiate --eval '' -A lib.nixpkgsVersion
"16.03.909.f199be0"
$ nix-instantiate --eval ~/Development/nixpkgs -A lib.nixpkgsVersion
"16.09pre-git"
The text was updated successfully, but these errors were encountered: