Try another approach of passing in the security framework
This commit is contained in:
parent
b1213d6374
commit
186c6e6310
12
default.nix
12
default.nix
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue