Merge pull request #299323 from aschleck/patch-1

reshape: fix compilation on Darwin
This commit is contained in:
Weijia Wang 2024-03-28 10:02:53 +01:00 committed by GitHub
commit c99b667849
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -1,8 +1,10 @@
{ 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