updatedb could only be run by providing the --output parameter, because it would use a path inside the nix store as it's database. The default for --output is now /var/cache/locatedb (the same as in the NixOS locate service)