From 8e97c64ffc51771acbbe5dc3de4dcbf7a22918a9 Mon Sep 17 00:00:00 2001 From: Lane Seppala Date: Wed, 4 May 2016 16:41:44 -0600 Subject: [PATCH] chefdk: fix build of hitimes on OS X --- pkgs/development/ruby-modules/gem-config/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index 72e483bc77d3..1349a4a53ac5 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -57,6 +57,12 @@ in buildInputs = [ gpgme ]; }; + hitimes = attrs: { + buildInputs = + stdenv.lib.optionals stdenv.isDarwin + [ darwin.apple_sdk.frameworks.CoreServices ]; + }; + # note that you need version >= v3.16.14.8, # otherwise the gem will fail to link to the libv8 binary. # see: https://github.com/cowboyd/libv8/pull/161