I am having a problem accessing the “locate” program:
[buck@nixos:~]$ locate
The program ‘locate’ is not in your PATH. It is provided by several packages.
You can make it available in an ephemeral shell by typing one of the following:
nix-shell -p findutils
nix-shell -p mlocate[buck@nixos:~]$ nix-shell -p findutils
[nix-shell:~]$ locate
The program ‘locate’ is not in your PATH. It is provided by several packages.
You can make it available in an ephemeral shell by typing one of the following:
nix-shell -p findutils
nix-shell -p mlocate
find and xargs are available. locate and updatedb are missing. The man page has this cryptic segmentation:
The tools supplied with this package are:
* find - search for files in a directory hierarchy; * xargs - build and execute command lines from standard input.
The following are available in the locate output:
* locate - list files in databases that match a pattern; * updatedb - update a file name database;
What does “the locate output” refer to? I added “findutils” to configuration.nix and I still have no access to “locate”.