watchman: use lib.cmake{Bool,Feature}
(cherry picked from commit d9ea8bbebf)
(cherry picked from commit 01a0d8352a5fc01ff537b46dd5ca4902cf88bc34)
This commit is contained in:
@@ -79,8 +79,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DWATCHMAN_STATE_DIR=${stateDir}"
|
||||
"-DWATCHMAN_VERSION_OVERRIDE=${finalAttrs.version}"
|
||||
(lib.cmakeFeature "WATCHMAN_STATE_DIR" stateDir)
|
||||
(lib.cmakeFeature "WATCHMAN_VERSION_OVERRIDE" finalAttrs.version)
|
||||
];
|
||||
|
||||
cargoRoot = "watchman/cli";
|
||||
|
||||
Reference in New Issue
Block a user