lol

Apply suggestions from code review Typos, Whitespace and Stuff. Will fixup the relevants commits later, so this commit vanishes.

Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>

authored by

Eric Wolf
Mario Rodas
and committed by
GitHub
5287f144 9dc7a05a

+5 -6
+5 -6
pkgs/development/tools/rust/cargo-pgx/buildPgxExtension.nix
··· 42 42 # Additional arguments are: 43 43 # - `postgresql` postgresql package of the version of postgresql this extension should be build for. 44 44 # Needs to be the build platform variant. 45 - # - `useFakeRustfmt` Wether to use a noop fake command as rustfmt. cargo-pgx tries to call rustfmt. 45 + # - `useFakeRustfmt` Whether to use a noop fake command as rustfmt. cargo-pgx tries to call rustfmt. 46 46 # If the generated rust bindings aren't needed to use the extension, its a 47 47 # unnecessary and heavy dependency. If you set this to true, you also 48 48 # have to add `rustfmt` to `nativeBuildInputs`. ··· 106 106 nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ 107 107 cargo-pgx 108 108 postgresql 109 - rustPlatform.rust.rustc 110 109 pkg-config 111 110 rustPlatform.bindgenHook 112 111 ] ++ lib.optionals useFakeRustfmt [ fakeRustfmt ]; ··· 121 120 NIX_PGLIBDIR="${postgresql}/lib" \ 122 121 PGX_BUILD_FLAGS="--frozen -j $NIX_BUILD_CORES ${builtins.concatStringsSep " " cargoBuildFlags}" \ 123 122 cargo-pgx pgx package \ 124 - --pg-config ${postgresql}/bin/pg_config \ 125 - ${maybeDebugFlag} \ 126 - --features "${builtins.concatStringsSep " " buildFeatures}" \ 127 - --out-dir "$out" 123 + --pg-config ${postgresql}/bin/pg_config \ 124 + ${maybeDebugFlag} \ 125 + --features "${builtins.concatStringsSep " " buildFeatures}" \ 126 + --out-dir "$out" 128 127 129 128 ${maybeLeaveBuildAndTestSubdir} 130 129