treewide: "does not exists" -> "does not exist"

I noticed this minor grammar mistake when running update.nix, and then
while grepping to find the source I noticed we had it a few times in
Nixpkgs. Just as easy to fix treewide as it was to fix the one
occurrence I noticed.

Changed files
+7 -7
maintainers
scripts
nixos
modules
services
backup
monitoring
networking
firefox
pkgs
development
mobile
androidenv
misc
vscode-extensions
+2 -2
maintainers/scripts/update.nix
···
pathContent = lib.attrByPath prefix null pkgs;
in
if pathContent == null then
-
builtins.throw "Attribute path `${path}` does not exists."
+
builtins.throw "Attribute path `${path}` does not exist."
else
packagesWithPath prefix (path: pkg: builtins.hasAttr "updateScript" pkg)
pathContent;
···
package = lib.attrByPath (lib.splitString "." path) null pkgs;
in
if package == null then
-
builtins.throw "Package with an attribute name `${path}` does not exists."
+
builtins.throw "Package with an attribute name `${path}` does not exist."
else if ! builtins.hasAttr "updateScript" package then
builtins.throw "Package with an attribute name `${path}` does not have a `passthru.updateScript` attribute defined."
else
+1 -1
nixos/modules/services/backup/znapzend.nix
···
autoCreation = mkOption {
type = bool;
default = false;
-
description = "Automatically create the destination dataset if it does not exists.";
+
description = "Automatically create the destination dataset if it does not exist.";
};
zetup = mkOption {
+1 -1
nixos/modules/services/monitoring/nagios.nix
···
validated = pkgs.runCommand "nagios-checked.cfg" {preferLocalBuild=true;} ''
cp ${file} nagios.cfg
# nagios checks the existence of /var/lib/nagios, but
-
# it does not exists in the build sandbox, so we fake it
+
# it does not exist in the build sandbox, so we fake it
mkdir lib
lib=$(readlink -f lib)
sed -i s@=${nagiosState}@=$lib@ nagios.cfg
+1 -1
nixos/modules/services/networking/firefox/sync-server.nix
···
password, and the <option>syncserver.secret</option> setting is used by the server to
generate cryptographically-signed authentication tokens.
-
If this file does not exists, then it is created with a generated
+
If this file does not exist, then it is created with a generated
<option>syncserver.secret</option> settings.
'';
};
+1 -1
pkgs/development/mobile/androidenv/emulate-app.nix
···
export ANDROID_SERIAL="emulator-$port"
-
# Create a virtual android device for testing if it does not exists
+
# Create a virtual android device for testing if it does not exist
${sdk}/libexec/android-sdk/tools/bin/avdmanager list target
if [ "$(${sdk}/libexec/android-sdk/tools/android list avd | grep 'Name: device')" = "" ]
+1 -1
pkgs/misc/vscode-extensions/updateSettings.nix
···
}:
##User Input
{ settings ? {}
-
# if marked as true will create an empty json file if does not exists
+
# if marked as true will create an empty json file if does not exist
, createIfDoesNotExists ? true
, vscodeSettingsFile ? ".vscode/settings.json"
, userSettingsFolder ? ""