reshape: fix compilation on Darwin
This commit is contained in:
parent
a4caf2acfa
commit
efbc4f3a01
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user