buildPgrxExtension: mark packages as broken on darwin (#392868)

authored by Yt and committed by GitHub 5dd798be bbed418a

+5
+5
pkgs/development/tools/rust/cargo-pgrx/buildPgrxExtension.nix
··· 178 178 (args.checkFeatures or [ ]) 179 179 ++ (lib.optionals usePgTestCheckFeature [ "pg_test" ]) 180 180 ++ [ "pg${pgrxPostgresMajor}" ]; 181 + 182 + meta = (args.meta or { }) // { 183 + # See comment in postgresql's generic.nix doInstallCheck section 184 + broken = (args.meta.broken or false) || stdenv.hostPlatform.isDarwin; 185 + }; 181 186 }; 182 187 in 183 188 rustPlatform.buildRustPackage finalArgs