reshape: fix compilation on Darwin

This commit is contained in:
April Schleck 2024-03-26 15:30:43 -07:00 committed by April Schleck
parent a4caf2acfa
commit efbc4f3a01

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