git.iko.soy/typeable/nixpkgs
on master help sign in
libuv: enable checks and parallel building
commit56366b5e668d4d5086cbadbb04c5dbc01a798581 authorVladimír Čunát <vcunat@gmail.com> dateTue 29 Nov 2016, 18:40 (10 years ago) parent0f7f0ce
1 file changed+9
pkgs/development/libraries/libuv/default.nix+9
pkgs/development/libraries/libuv/default.nix+9
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
1313 sha256 = "0gna53fgsjjs38kv1g20xfaalv0fk3xncb6abga3saswrv283hx0";
1414 };
1515
16+ # these checks are probably network-dependent
17+ postPatch = lib.optionalString doCheck ''
18+ sed '/getnameinfo_basic/d' -i test/test-list.h
19+ '';
20+
1621 buildInputs = [ automake autoconf libtool pkgconfig ]
1722 ++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices CoreServices ];
1823
@@ -20,6 +25,10 @@ stdenv.mkDerivation rec {
2025 LIBTOOLIZE=libtoolize ./autogen.sh
2126 '';
2227
28+ enableParallelBuilding = true;
29+
30+ doCheck = true;
31+
2332 meta = with lib; {
2433 description = "A multi-platform support library with a focus on asynchronous I/O";
2534 homepage = https://github.com/libuv/libuv;