From 6a6e27495b587d38a82413147a099f8f377d3bee Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Sat, 16 Aug 2025 22:43:21 +0200 Subject: [PATCH] nixos: fix 'do not exist' typos --- nixos/modules/services/hardware/lirc.nix | 2 +- nixos/modules/virtualisation/qemu-vm.nix | 2 +- nixos/tests/bird.nix | 2 +- nixos/tests/containers-tmpfs.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/hardware/lirc.nix b/nixos/modules/services/hardware/lirc.nix index 6cc7c4ef1904..7c0ea64f29cf 100644 --- a/nixos/modules/services/hardware/lirc.nix +++ b/nixos/modules/services/hardware/lirc.nix @@ -42,7 +42,7 @@ in config = lib.mkIf cfg.enable { - # Note: LIRC executables raises a warning, if lirc_options.conf do not exists + # Note: LIRC executables raises a warning, if lirc_options.conf does not exist environment.etc."lirc/lirc_options.conf".text = cfg.options; passthru.lirc.socket = "/run/lirc/lircd"; diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 0832ca937d32..9d156a3b11e5 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -137,7 +137,7 @@ let NIX_DISK_IMAGE=$(readlink -f "''${NIX_DISK_IMAGE:-${toString config.virtualisation.diskImage}}") || test -z "$NIX_DISK_IMAGE" if test -n "$NIX_DISK_IMAGE" && ! test -e "$NIX_DISK_IMAGE"; then - echo "Disk image do not exist, creating the virtualisation disk image..." + echo "Disk image does not exist, creating the virtualisation disk image..." ${ if (cfg.useBootLoader && cfg.useDefaultFilesystems) then diff --git a/nixos/tests/bird.nix b/nixos/tests/bird.nix index e036983c6b54..1f5037cc60e1 100644 --- a/nixos/tests/bird.nix +++ b/nixos/tests/bird.nix @@ -124,7 +124,7 @@ in host1.wait_until_succeeds("ip --json -6 r | jq -e 'map(select(.dst == \"fdff::2\")) | any'") host2.wait_until_succeeds("ip --json -6 r | jq -e 'map(select(.dst == \"fdff::1\")) | any'") - with subtest("Check fake routes in preCheckConfig do not exists"): + with subtest("Check fake routes in preCheckConfig do not exist"): host1.fail("ip --json r | jq -e 'map(select(.dst == \"1.2.3.4\")) | any'") host2.fail("ip --json r | jq -e 'map(select(.dst == \"1.2.3.4\")) | any'") diff --git a/nixos/tests/containers-tmpfs.nix b/nixos/tests/containers-tmpfs.nix index 2ac1795cca06..d83a2b69326a 100644 --- a/nixos/tests/containers-tmpfs.nix +++ b/nixos/tests/containers-tmpfs.nix @@ -79,7 +79,7 @@ with subtest( "files created in the hosts container dir in a path where a tmpfs " + "file system has been mounted are not visible to the container as " - + "the do not exist in the tmpfs" + + "they do not exist in the tmpfs" ): machine.succeed( "touch /var/lib/nixos-containers/tmpfs/var/test.file",