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,12 +13,16 @@ in {
ofborg.rs = let ofborg.rs = let
build = (pkgs.callPackage ./nix/ofborg-carnix.nix {}) build = (pkgs.callPackage ./nix/ofborg-carnix.nix {})
.ofborg_0_1_0.override { .ofborg_0_1_0.override {
crateOverrides = { crateOverrides = pkgs.defaultCrateOverrides //
buildDependencies = pkgs.lib.optionals {
ofborg = attrs: {
buildInputs =
pkgs.lib.optionals
pkgs.stdenv.isDarwin pkgs.stdenv.isDarwin
[ pkgs.darwin.apple_sdk.frameworks.Security ]; [ pkgs.darwin.apple_sdk.frameworks.Security ];
}; };
}; };
};
in stripDeps build; in stripDeps build;
ircbot = stripDeps (pkgs.callPackage ./nix/ircbot-carnix.nix {}).ircbot_0_1_0; ircbot = stripDeps (pkgs.callPackage ./nix/ircbot-carnix.nix {}).ircbot_0_1_0;