about summary refs log tree commit diff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorLane Seppala <lane@helium.com>2016-05-04 16:41:44 -0600
committerLane Seppala <lane@helium.com>2016-05-04 16:41:44 -0600
commit8e97c64ffc51771acbbe5dc3de4dcbf7a22918a9 (patch)
treeb7352f17e379caaa5546415ab3c9b44b32bebc25 /pkgs/development/ruby-modules
parent4f7ea068b459a4ec73115c59f8d8726cd65ec585 (diff)
downloadnixlib-8e97c64ffc51771acbbe5dc3de4dcbf7a22918a9.tar
nixlib-8e97c64ffc51771acbbe5dc3de4dcbf7a22918a9.tar.gz
nixlib-8e97c64ffc51771acbbe5dc3de4dcbf7a22918a9.tar.bz2
nixlib-8e97c64ffc51771acbbe5dc3de4dcbf7a22918a9.tar.lz
nixlib-8e97c64ffc51771acbbe5dc3de4dcbf7a22918a9.tar.xz
nixlib-8e97c64ffc51771acbbe5dc3de4dcbf7a22918a9.tar.zst
nixlib-8e97c64ffc51771acbbe5dc3de4dcbf7a22918a9.zip
chefdk: fix build of hitimes on OS X
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/gem-config/default.nix6
1 files changed, 6 insertions, 0 deletions
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