nixpkgs/pkgs/servers/code-server/remove-cloud-agent-download.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
600 B
Diff
Raw Normal View History

2021-01-18 00:03:35 +00:00
--- ./ci/build/npm-postinstall.sh
+++ ./ci/build/npm-postinstall.sh
2022-01-10 00:36:05 +00:00
@@ -58,14 +58,6 @@
OS="$(uname | tr '[:upper:]' '[:lower:]')"
- mkdir -p ./lib
-
2021-10-30 22:19:46 +00:00
- if curl -fsSL "https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent; then
2021-01-18 00:03:35 +00:00
- chmod +x ./lib/coder-cloud-agent
- else
- echo "Failed to download cloud agent; --link will not work"
- fi
-
if ! vscode_yarn; then
echo "You may not have the required dependencies to build the native modules."
2021-10-30 22:19:46 +00:00
echo "Please see https://github.com/cdr/code-server/blob/master/docs/npm.md"