aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/compilers/flutter/patches/beta/disable-auto-update.patch
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2020-12-09 18:55:19 +0000
committerMx Kookie <kookie@spacekookie.de>2020-12-09 18:55:19 +0000
commit80d90d9b204f7c17912740f9f414fe5d59f293ba (patch)
tree5f2065a06e724270610760d59d01c6888b375a46 /infra/libkookie/nixpkgs/pkgs/development/compilers/flutter/patches/beta/disable-auto-update.patch
parent3a31a84c7d3e589035ad08499206aac44a81f424 (diff)
parent83cbad92d73216bb0d9187c56cce0b91f9121d5a (diff)
Merge commit '83cbad92d73216bb0d9187c56cce0b91f9121d5a' into main
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/compilers/flutter/patches/beta/disable-auto-update.patch')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/compilers/flutter/patches/beta/disable-auto-update.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/compilers/flutter/patches/beta/disable-auto-update.patch b/infra/libkookie/nixpkgs/pkgs/development/compilers/flutter/patches/beta/disable-auto-update.patch
deleted file mode 100644
index cd01577cc10f..000000000000
--- a/infra/libkookie/nixpkgs/pkgs/development/compilers/flutter/patches/beta/disable-auto-update.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/bin/internal/shared.sh b/bin/internal/shared.sh
-index 702bd9ed5..4d4dc94c6 100755
---- a/bin/internal/shared.sh
-+++ b/bin/internal/shared.sh
-@@ -204,8 +204,6 @@ function shared::execute() {
- # FLUTTER_TOOL_ARGS="--enable-asserts $FLUTTER_TOOL_ARGS"
- # FLUTTER_TOOL_ARGS="$FLUTTER_TOOL_ARGS --observe=65432"
-
-- upgrade_flutter 7< "$PROG_NAME"
--
- BIN_NAME="$(basename "$PROG_NAME")"
- case "$BIN_NAME" in
- flutter*)
-diff --git a/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart b/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
-index 21be933e1..2ea73c4c0 100644
---- a/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
-+++ b/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
-@@ -294,13 +294,6 @@ class FlutterCommandRunner extends CommandRunner<void> {
- globals.flutterUsage.suppressAnalytics = true;
- }
-
-- try {
-- await globals.flutterVersion.ensureVersionFile();
-- } on FileSystemException catch (e) {
-- globals.printError('Failed to write the version file to the artifact cache: "$e".');
-- globals.printError('Please ensure you have permissions in the artifact cache directory.');
-- throwToolExit('Failed to write the version file');
-- }
- final bool machineFlag = topLevelResults['machine'] as bool;
- if (topLevelResults.command?.name != 'upgrade' && topLevelResults['version-check'] as bool && !machineFlag) {
- await globals.flutterVersion.checkFlutterVersionFreshness();