Need Foundation to build i18n-embed-fl on darwin

This commit is contained in:
Felix Scheinost 2021-02-04 21:17:29 +01:00
parent 37b1d2aa3f
commit cd916fad67

View file

@ -15,7 +15,10 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ]; buildInputs = stdenv.lib.optionals stdenv.isDarwin [
darwin.Security
darwin.apple_sdk.frameworks.Foundation
];
postBuild = '' postBuild = ''
cargo run --example generate-docs cargo run --example generate-docs