Unverified Commit 5dd798be authored by Yt's avatar Yt Committed by GitHub
Browse files

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

parents bbed418a 6c13b31a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -178,6 +178,11 @@ let
      (args.checkFeatures or [ ])
      ++ (lib.optionals usePgTestCheckFeature [ "pg_test" ])
      ++ [ "pg${pgrxPostgresMajor}" ];

    meta = (args.meta or { }) // {
      # See comment in postgresql's generic.nix doInstallCheck section
      broken = (args.meta.broken or false) || stdenv.hostPlatform.isDarwin;
    };
  };
in
rustPlatform.buildRustPackage finalArgs