From 99da330f23c59f243a0774cd385e4f153f0e2ac4 Mon Sep 17 00:00:00 2001 From: zhoufanjin Date: Sat, 27 Jul 2024 23:05:18 +0900 Subject: [PATCH] treewide: fix some comments (#330407) Signed-off-by: zhoufanjin --- pkgs/applications/version-management/sublime-merge/common.nix | 2 +- pkgs/applications/video/plex-media-player/default.nix | 2 +- pkgs/applications/virtualization/podman/default.nix | 2 +- pkgs/by-name/xm/xmldiff/package.nix | 2 +- pkgs/development/libraries/gdcm/default.nix | 2 +- pkgs/development/tools/buildah/wrapper.nix | 2 +- pkgs/tools/security/gitleaks/default.nix | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/version-management/sublime-merge/common.nix b/pkgs/applications/version-management/sublime-merge/common.nix index df5e36228290..43a14907633c 100644 --- a/pkgs/applications/version-management/sublime-merge/common.nix +++ b/pkgs/applications/version-management/sublime-merge/common.nix @@ -116,7 +116,7 @@ let # We need to replace the ssh-askpass-sublime executable because the default one # will not function properly, in order to work it needs to pass an argv[0] to - # the sublime_merge binary, and the built-in version will will try to call the + # the sublime_merge binary, and the built-in version will try to call the # sublime_merge wrapper script which cannot pass through the original argv[0] to # the sublime_merge binary. Thankfully the ssh-askpass-sublime functionality is # very simple and can be replaced with a simple wrapper script. diff --git a/pkgs/applications/video/plex-media-player/default.nix b/pkgs/applications/video/plex-media-player/default.nix index 6a686d9d2c2a..fb10bff45e33 100644 --- a/pkgs/applications/video/plex-media-player/default.nix +++ b/pkgs/applications/video/plex-media-player/default.nix @@ -7,7 +7,7 @@ let # sandboxed builds, we manually download them and save them so these files # are fetched ahead-of-time instead of during the CMake build. To update # plex-media-player use the update.sh script, so the versions and hashes - # for these files are are also updated! + # for these files are also updated! depSrcs = import ./deps.nix { inherit fetchurl; }; in mkDerivation rec { pname = "plex-media-player"; diff --git a/pkgs/applications/virtualization/podman/default.nix b/pkgs/applications/virtualization/podman/default.nix index f42eb36e4016..e1540b12b2d4 100644 --- a/pkgs/applications/virtualization/podman/default.nix +++ b/pkgs/applications/virtualization/podman/default.nix @@ -49,7 +49,7 @@ let helpersBin = symlinkJoin { name = "podman-helper-binary-wrapper"; - # this only works for some binaries, others may need to be be added to `binPath` or in the modules + # this only works for some binaries, others may need to be added to `binPath` or in the modules paths = [ gvproxy ] ++ lib.optionals stdenv.isLinux [ diff --git a/pkgs/by-name/xm/xmldiff/package.nix b/pkgs/by-name/xm/xmldiff/package.nix index 1cacb6ac278c..dc0885a71f3f 100644 --- a/pkgs/by-name/xm/xmldiff/package.nix +++ b/pkgs/by-name/xm/xmldiff/package.nix @@ -32,7 +32,7 @@ python3.pkgs.buildPythonApplication { computer readable data, it is also often used as a format for hierarchical data that can be rendered into human readable formats. A traditional diff on such a format would tell you line by line the differences, but this - would not be be readable by a human. xmldiff provides tools to make human + would not be readable by a human. xmldiff provides tools to make human readable diffs in those situations. ''; license = lib.licenses.mit; diff --git a/pkgs/development/libraries/gdcm/default.nix b/pkgs/development/libraries/gdcm/default.nix index bdfa576f23df..cacfb778c7bc 100644 --- a/pkgs/development/libraries/gdcm/default.nix +++ b/pkgs/development/libraries/gdcm/default.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation rec { "TestFind" "gdcmscu-echo-dicomserver" "gdcmscu-find-dicomserver" - # seemingly ought to be be disabled when the test data submodule is not present: + # seemingly ought to be disabled when the test data submodule is not present: "TestvtkGDCMImageReader2_3" "TestSCUValidation" # errors because 3 classes not wrapped: diff --git a/pkgs/development/tools/buildah/wrapper.nix b/pkgs/development/tools/buildah/wrapper.nix index b5042ae1b827..60670791827d 100644 --- a/pkgs/development/tools/buildah/wrapper.nix +++ b/pkgs/development/tools/buildah/wrapper.nix @@ -32,7 +32,7 @@ let helpersBin = symlinkJoin { name = "${buildah-unwrapped.pname}-helper-binary-wrapper-${buildah-unwrapped.version}"; - # this only works for some binaries, others may need to be be added to `binPath` or in the modules + # this only works for some binaries, others may need to be added to `binPath` or in the modules paths = [ ] ++ lib.optionals stdenv.isLinux [ aardvark-dns diff --git a/pkgs/tools/security/gitleaks/default.nix b/pkgs/tools/security/gitleaks/default.nix index 47908e95c512..4a866efca13f 100644 --- a/pkgs/tools/security/gitleaks/default.nix +++ b/pkgs/tools/security/gitleaks/default.nix @@ -29,7 +29,7 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; - # With v8 the config tests are are blocking + # With v8 the config tests are blocking doCheck = false; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''