Add missing Darwin framework

This commit is contained in:
Luc Perkins 2023-10-03 20:09:16 +03:00
parent abe881fb6e
commit 344946b3e1
No known key found for this signature in database
GPG Key ID: CED8419FB058467A
2 changed files with 3 additions and 3 deletions

View File

@ -6,6 +6,7 @@
, rust-bin
, nix-gitignore
, supportedSystems
, darwinFrameworks
}:
let
@ -73,9 +74,7 @@ let
inherit src;
buildInputs = with pkgs; [ ]
++ lib.optionals pkgs.stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
++ lib.optionals pkgs.stdenv.isDarwin darwinFrameworks;
nativeBuildInputs = with pkgs; [ ]
# The Rust toolchain from rust-overlay has a dynamic libiconv in depsTargetTargetPropagated

View File

@ -34,6 +34,7 @@
cranePkgs = pkgs.callPackage ./crane.nix {
inherit crane supportedSystems;
darwinFrameworks = with pkgs.darwin.apple_sdk.frameworks; [ Security SystemConfiguration ];
};
});
in