From 1138af563745b5d14e1299c5d32a29961d6313bb Mon Sep 17 00:00:00 2001 From: talyz Date: Wed, 22 Dec 2021 14:22:12 +0100 Subject: discourse: Add aarch64-linux to the list of platforms to be removed ...in the update script and remove it from the Gemfile.lock. Having it there causes a failure with the error message: Could not find libv8-node-16.10.0.0-aarch64-linux in any of the sources (Bundler::GemNotFound) And since we're not using the prebuilt binary packages anyway, we don't need it there in the first place. --- pkgs/servers/web-apps/discourse/rubyEnv/Gemfile.lock | 2 -- pkgs/servers/web-apps/discourse/update.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'pkgs/servers/web-apps') diff --git a/pkgs/servers/web-apps/discourse/rubyEnv/Gemfile.lock b/pkgs/servers/web-apps/discourse/rubyEnv/Gemfile.lock index 11173dd94b5df..aec33b300ef30 100644 --- a/pkgs/servers/web-apps/discourse/rubyEnv/Gemfile.lock +++ b/pkgs/servers/web-apps/discourse/rubyEnv/Gemfile.lock @@ -198,7 +198,6 @@ GEM jwt (2.3.0) kgio (2.11.4) libv8-node (16.10.0.0) - libv8-node (16.10.0.0-aarch64-linux) listen (3.7.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) @@ -466,7 +465,6 @@ GEM zeitwerk (2.5.1) PLATFORMS - aarch64-linux ruby DEPENDENCIES diff --git a/pkgs/servers/web-apps/discourse/update.py b/pkgs/servers/web-apps/discourse/update.py index 418c89d388b68..ebc85c02087a9 100755 --- a/pkgs/servers/web-apps/discourse/update.py +++ b/pkgs/servers/web-apps/discourse/update.py @@ -164,7 +164,7 @@ def _diff_file(filepath: str, old_version: DiscourseVersion, new_version: Discou def _remove_platforms(rubyenv_dir: Path): for platform in ['arm64-darwin-20', 'x86_64-darwin-18', 'x86_64-darwin-19', 'x86_64-darwin-20', - 'x86_64-linux']: + 'x86_64-linux', 'aarch64-linux']: with open(rubyenv_dir / 'Gemfile.lock', 'r') as f: for line in f: if platform in line: -- cgit 1.4.1