nixpkgs/pkgs/tools/misc/ckb-next/install-dirs.patch

14 lines
563 B
Diff
Raw Normal View History

diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
2019-04-26 11:41:13 +00:00
index 2fc10a8..22dbd14 100644
--- a/src/daemon/CMakeLists.txt
+++ b/src/daemon/CMakeLists.txt
2019-04-26 11:41:13 +00:00
@@ -421,7 +421,7 @@ if ("${CKB_NEXT_INIT_SYSTEM}" STREQUAL "launchd")
elseif ("${CKB_NEXT_INIT_SYSTEM}" STREQUAL "systemd")
install(
2019-04-26 11:41:13 +00:00
FILES "${CMAKE_CURRENT_BINARY_DIR}/service/ckb-next-daemon.service"
- DESTINATION "/usr/lib/systemd/system"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/systemd/system"
PERMISSIONS
OWNER_READ OWNER_WRITE
GROUP_READ