Try another approach of passing in the security framework

This commit is contained in:
Graham Christensen 2017-12-09 09:51:25 -05:00
parent b1213d6374
commit 186c6e6310
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -13,10 +13,14 @@ in {
ofborg.rs = let
build = (pkgs.callPackage ./nix/ofborg-carnix.nix {})
.ofborg_0_1_0.override {
crateOverrides = {
buildDependencies = pkgs.lib.optionals
pkgs.stdenv.isDarwin
[ pkgs.darwin.apple_sdk.frameworks.Security ];
crateOverrides = pkgs.defaultCrateOverrides //
{
ofborg = attrs: {
buildInputs =
pkgs.lib.optionals
pkgs.stdenv.isDarwin
[ pkgs.darwin.apple_sdk.frameworks.Security ];
};
};
};
in stripDeps build;