reshape: fix compilation on Darwin
This commit is contained in:
parent
a4caf2acfa
commit
efbc4f3a01
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue