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
|
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
|
{
|
||||||
pkgs.stdenv.isDarwin
|
ofborg = attrs: {
|
||||||
[ pkgs.darwin.apple_sdk.frameworks.Security ];
|
buildInputs =
|
||||||
|
pkgs.lib.optionals
|
||||||
|
pkgs.stdenv.isDarwin
|
||||||
|
[ pkgs.darwin.apple_sdk.frameworks.Security ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in stripDeps build;
|
in stripDeps build;
|
||||||
|
|
Loading…
Reference in a new issue