[Nix-dev] locate utility (and likely find)

James Cook james.cook at utoronto.ca
Wed Mar 4 03:01:30 CET 2015


On Mar 3, 2015 4:11 PM, "Tony Su" <tonysu at su-networking.com> wrote:
>
>  It looks to me like "locate" is already installed and available in a
> default install (stable).
>
> But, it won't function without an updated database.
> But, running "updatedb" (as root) apparently points to a read-only
location.
>
> Should a default installation be required to set a custom path for the
> findutils database? I was expecting that simply running "updatedb"
> should have executed without problem.
>
> Tony

NixOS provides a service configured by services.locate.enable and
services.locate.period.

To make the updatedb command work out-of-the-box from nixpkgs rather than
NixOS I'm not sure what the default path should be.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150303/4c2a9777/attachment.html 


More information about the nix-dev mailing list