+161
pkgs/development/tools/rust/cargo-pgx/buildPgxExtension.nix
+161
pkgs/development/tools/rust/cargo-pgx/buildPgxExtension.nix
···
···+# - `postgresql` postgresql package of the version of postgresql this extension should be build for.+# - `useFakeRustfmt` Wether to use a noop fake command as rustfmt. cargo-pgx tries to call rustfmt.+# cargo-pgx calls rustfmt on generated bindings, this is not strictly necessary, so we avoid the+rustfmtInNativeBuildInputs = lib.lists.any (dep: lib.getName dep == "rustfmt") (args.nativeBuildInputs or []);+"The parameter useFakeRustfmt is set to true, but rustfmt is included in nativeBuildInputs. Either set useFakeRustfmt to false or remove rustfmt from nativeBuildInputs.";+"The parameter useFakeRustfmt is set to false, but rustfmt is not included in nativeBuildInputs. Either set useFakeRustfmt to true or add rustfmt from nativeBuildInputs.";+# so we don't accidentally `(rustPlatform.buildRustPackage argsForBuildRustPackage) // { ... }` because+PGX_BUILD_FLAGS="--frozen -j $NIX_BUILD_CORES ${builtins.concatStringsSep " " cargoBuildFlags}" \
+3
pkgs/top-level/all-packages.nix
+3
pkgs/top-level/all-packages.nix
···
···