Unverified Commit c99b6678 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #299323 from aschleck/patch-1

reshape: fix compilation on Darwin
parents 22fb99c2 efbc4f3a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchCrate
, darwin
, postgresqlTestHook
, postgresql
, stdenv
}:

rustPlatform.buildRustPackage rec {
@@ -16,6 +18,9 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-VTJ3FNhVLgxo/VVBhk1yF9UUktLXcbrEkYwoyoWFhXA=";

  buildInputs =
    lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];

  nativeCheckInputs = [
    postgresqlTestHook
    postgresql