From b1213d637414484209a1dd2c01da0b87f06b34fc Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 8 Dec 2017 22:42:03 -0500 Subject: [PATCH] Try passing Security for ofborg --- default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 3df3ab5..797f143 100644 --- a/default.nix +++ b/default.nix @@ -10,7 +10,16 @@ let chmod -R a-w $out ''; in { - ofborg.rs = stripDeps (pkgs.callPackage ./nix/ofborg-carnix.nix {}).ofborg_0_1_0; + 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 ]; + }; + }; + in stripDeps build; ircbot = stripDeps (pkgs.callPackage ./nix/ircbot-carnix.nix {}).ircbot_0_1_0; ofborg.php = pkgs.runCommand