1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/servers/sunshine/dont-build-webui.patch

15 lines
622 B
Diff
Raw Normal View History

2024-03-06 20:35:58 -05:00
diff --git a/cmake/targets/common.cmake b/cmake/targets/common.cmake
2024-03-17 16:19:52 -04:00
index 9f2ce08..8c32b8f 100644
2024-03-06 20:35:58 -05:00
--- a/cmake/targets/common.cmake
+++ b/cmake/targets/common.cmake
2024-03-17 16:19:52 -04:00
@@ -48,8 +48,4 @@ else()
set(NPM_BUILD_HOMEBREW "")
endif()
2024-03-06 20:35:58 -05:00
-#WebUI build
-add_custom_target(web-ui ALL
- WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
- COMMENT "Installing NPM Dependencies and Building the Web UI"
2024-03-17 16:19:52 -04:00
- COMMAND bash -c \"npm install && SUNSHINE_BUILD_HOMEBREW=${NPM_BUILD_HOMEBREW} SUNSHINE_SOURCE_ASSETS_DIR=${NPM_SOURCE_ASSETS_DIR} SUNSHINE_ASSETS_DIR=${NPM_ASSETS_DIR} npm run build\") # cmake-lint: disable=C0301
2024-03-06 20:35:58 -05:00
+