watchman: remove cf-private
This commit is contained in:
parent
e7765ba8e5
commit
c2205238ab
@ -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 = ''
|
||||
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user