chefdk: fix build of hitimes on OS X

This commit is contained in:
Lane Seppala 2016-05-04 16:41:44 -06:00
parent 4f7ea068b4
commit 8e97c64ffc

View File

@ -57,6 +57,12 @@ in
buildInputs = [ gpgme ]; buildInputs = [ gpgme ];
}; };
hitimes = attrs: {
buildInputs =
stdenv.lib.optionals stdenv.isDarwin
[ darwin.apple_sdk.frameworks.CoreServices ];
};
# note that you need version >= v3.16.14.8, # note that you need version >= v3.16.14.8,
# otherwise the gem will fail to link to the libv8 binary. # otherwise the gem will fail to link to the libv8 binary.
# see: https://github.com/cowboyd/libv8/pull/161 # see: https://github.com/cowboyd/libv8/pull/161