darwin purity: libuv

This commit is contained in:
Jude Taylor 2015-06-20 15:29:49 -07:00
parent a4fbe26ec8
commit 72737118fd
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, pkgconfig }:
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, CoreServices }:
let
stable = "stable";
@ -59,7 +59,8 @@ let
mkWithAutotools = stability: version: sha256: stdenv.mkDerivation {
name = mkName stability version;
src = mkSrc version sha256;
buildInputs = [ automake autoconf libtool pkgconfig ];
buildInputs = [ automake autoconf libtool pkgconfig ]
++ stdenv.lib.optional stdenv.isDarwin CoreServices;
preConfigure = ''
LIBTOOLIZE=libtoolize ./autogen.sh
'';

View File

@ -7177,6 +7177,7 @@ let
libuvVersions = recurseIntoAttrs (callPackage ../development/libraries/libuv {
automake = automake113x; # fails with 14
inherit (darwin.apple_sdk.frameworks) CoreServices;
});
libuv = libuvVersions.v1_6_1;