watchman: remove cf-private

This commit is contained in:
Daiderd Jordan 2019-06-19 19:55:22 +02:00
parent e7765ba8e5
commit c2205238ab
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
2 changed files with 12 additions and 14 deletions

View File

@ -1,12 +1,11 @@
{ stdenv, lib, config, fetchFromGitHub, autoconf, automake, pcre,
libtool, pkgconfig, openssl,
confFile ? config.watchman.confFile or null,
withApple ? stdenv.isDarwin, CoreServices, CoreFoundation
{ stdenv, lib, config, fetchFromGitHub, autoconf, automake, pcre
, libtool, pkgconfig, openssl
, confFile ? config.watchman.confFile or null
, withApple ? stdenv.isDarwin, CoreServices
}:
stdenv.mkDerivation rec {
name = "watchman-${version}";
version = "4.9.0";
src = fetchFromGitHub {
@ -16,18 +15,18 @@ stdenv.mkDerivation rec {
sha256 = "0fdaj5pmicm6j17d5q7px800m5rmam1a400x3hv1iiifnmhgnkal";
};
buildInputs = [ pcre openssl ]
++ lib.optionals withApple [ CoreFoundation CoreServices ];
nativeBuildInputs = [ autoconf automake pkgconfig libtool ];
buildInputs = [ pcre openssl ]
++ lib.optionals withApple [ CoreServices ];
configureFlags = [
"--enable-lenient"
"--enable-conffile=${if confFile == null then "no" else confFile}"
"--with-pcre=yes"
"--enable-lenient"
"--enable-conffile=${if confFile == null then "no" else confFile}"
"--with-pcre=yes"
# For security considerations re: --disable-statedir, see:
# https://github.com/facebook/watchman/issues/178
"--disable-statedir"
# For security considerations re: --disable-statedir, see:
# https://github.com/facebook/watchman/issues/178
"--disable-statedir"
];
prePatch = ''

View File

@ -6558,7 +6558,6 @@ in
watchman = callPackage ../development/tools/watchman {
inherit (darwin.apple_sdk.frameworks) CoreServices;
CoreFoundation = darwin.cf-private;
};
wavefunctioncollapse = callPackage ../tools/graphics/wavefunctioncollapse {};