Commit efbc4f3a authored by April Schleck's avatar April Schleck Committed by April Schleck
Browse files

reshape: fix compilation on Darwin

parent a4caf2ac
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