From 6b11332d6d7997f400c8e6eed0a4286f58fedd41 Mon Sep 17 00:00:00 2001 From: closeobserve Date: Fri, 2 Aug 2024 14:54:04 +0800 Subject: [PATCH] chore: fix some comments --- default.nix | 2 +- docker-hub-readme.md | 2 +- nix/static.nix | 2 +- stack-21.7.yaml | 2 +- stack.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/default.nix b/default.nix index 83e9f3daaa..4b87b49ddc 100644 --- a/default.nix +++ b/default.nix @@ -19,7 +19,7 @@ let "postgrest"; # PostgREST source files, filtered based on the rules in the .gitignore files - # and file extensions. We want to include as litte as possible, as the files + # and file extensions. We want to include as little as possible, as the files # added here will increase the space used in the Nix store and trigger the # build of new Nix derivations when changed. src = diff --git a/docker-hub-readme.md b/docker-hub-readme.md index 685a27537d..462c0535fa 100644 --- a/docker-hub-readme.md +++ b/docker-hub-readme.md @@ -64,7 +64,7 @@ The image is built from scratch using [Nix](https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools) instead of a `Dockerfile`, which yields a highly secure and optimized image. This is also why no commands are listed in the image history. See the [PostgREST -respository](https://github.com/PostgREST/postgrest/tree/main/nix/tools/docker) for +repository](https://github.com/PostgREST/postgrest/tree/main/nix/tools/docker) for details on the build process and how to inspect the image. This does not apply to the arm64 variant, which is based on Ubuntu. diff --git a/nix/static.nix b/nix/static.nix index cb23e8809e..b3cada94c8 100644 --- a/nix/static.nix +++ b/nix/static.nix @@ -4,7 +4,7 @@ , src }: let - # This builds a static PostgREST exectuable based on pkgsStatic. + # This builds a static PostgREST executable based on pkgsStatic. # pkgsStatic is based on musl, so is a kind of cross-compilation. # We still make this explicit here via pkgsCross, because we need # to get postgresql/libpq for musl, too. diff --git a/stack-21.7.yaml b/stack-21.7.yaml index f3bc52f90b..e75e6a77cb 100644 --- a/stack-21.7.yaml +++ b/stack-21.7.yaml @@ -13,7 +13,7 @@ nix: - pkgconfig - postgresql - zlib - # disable pure by default so that the test enviroment can be passed + # disable pure by default so that the test environment can be passed pure: false extra-deps: diff --git a/stack.yaml b/stack.yaml index 987599fc17..08ebdf18b2 100644 --- a/stack.yaml +++ b/stack.yaml @@ -6,7 +6,7 @@ nix: - pkgconfig - postgresql - zlib - # disable pure by default so that the test enviroment can be passed + # disable pure by default so that the test environment can be passed pure: false extra-deps: