From cd916fad67a17b51db3e77f244d46b25fd5a8b87 Mon Sep 17 00:00:00 2001 From: Felix Scheinost Date: Thu, 4 Feb 2021 21:17:29 +0100 Subject: [PATCH] Need Foundation to build i18n-embed-fl on darwin --- pkgs/rage.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/rage.nix b/pkgs/rage.nix index 9cf5a5f..0157ea7 100644 --- a/pkgs/rage.nix +++ b/pkgs/rage.nix @@ -15,7 +15,10 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ installShellFiles ]; - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ]; + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ + darwin.Security + darwin.apple_sdk.frameworks.Foundation + ]; postBuild = '' cargo run --example generate-docs