about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/sunshine/dont-build-webui.patch
blob: 6e308ffd90c58e1f359e82ab06c263874b993e05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cmake/targets/unix.cmake b/cmake/targets/unix.cmake
index 2ce0378..10d8262 100644
--- a/cmake/targets/unix.cmake
+++ b/cmake/targets/unix.cmake
@@ -1,8 +1,3 @@
 # unix specific target definitions
 # put anything here that applies to both linux and macos
 
-#WebUI build
-add_custom_target(web-ui ALL
-        WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
-        COMMENT "Installing NPM Dependencies and Building the Web UI"
-        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