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 { lib
, rustPlatform , rustPlatform
, fetchCrate , fetchCrate
, darwin
, postgresqlTestHook , postgresqlTestHook
, postgresql , postgresql
, stdenv
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -16,6 +18,9 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-VTJ3FNhVLgxo/VVBhk1yF9UUktLXcbrEkYwoyoWFhXA="; cargoHash = "sha256-VTJ3FNhVLgxo/VVBhk1yF9UUktLXcbrEkYwoyoWFhXA=";
buildInputs =
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
nativeCheckInputs = [ nativeCheckInputs = [
postgresqlTestHook postgresqlTestHook
postgresql postgresql