watchman: set CMAKE_INSTALL_RPATH_USE_LINK_PATH

Shared libraries, CMake, necessary on Linux… I don’t know.

(cherry picked from commit 33b5c76f14)
(cherry picked from commit e9299e8b164a95aafd0d307b82dd09e76054800b)
This commit is contained in:
Emily
2024-11-30 15:11:36 +01:00
committed by Vladimír Čunát
parent 6bb3a25d51
commit cc8a407545
+2
View File
@@ -79,6 +79,8 @@ stdenv.mkDerivation (finalAttrs: {
];
cmakeFlags = [
(lib.cmakeBool "CMAKE_INSTALL_RPATH_USE_LINK_PATH" true)
(lib.cmakeFeature "WATCHMAN_STATE_DIR" stateDir)
(lib.cmakeFeature "WATCHMAN_VERSION_OVERRIDE" finalAttrs.version)
];