From 70bbf1e9b2e775e25095a9130f8b18c13553a9c8 Mon Sep 17 00:00:00 2001 From: Eric Dallo Date: Sat, 25 Dec 2021 10:54:51 -0300 Subject: [PATCH] flutter: fix move-cache patch --- pkgs/development/compilers/flutter/patches/move-cache.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/flutter/patches/move-cache.patch b/pkgs/development/compilers/flutter/patches/move-cache.patch index 533d2d5d8a66..701cab54d807 100644 --- a/pkgs/development/compilers/flutter/patches/move-cache.patch +++ b/pkgs/development/compilers/flutter/patches/move-cache.patch @@ -20,7 +20,7 @@ index ed42baea29..fee2fb1d62 100644 final Uri entryUri = _fileSystem.path.toUri(asset); result.add(_Asset( - baseDir: _fileSystem.path.join(Cache.flutterRoot!, 'bin', 'cache', 'artifacts', 'material_fonts'), -+ baseDir: _fileSystem.path.join(globals.fsUtils.homeDirPath!, 'bin', 'cache', 'artifacts', 'material_fonts'), ++ baseDir: _fileSystem.path.join(globals.fsUtils.homeDirPath!, '.cache', 'flutter', 'artifacts', 'material_fonts'), relativeUri: Uri(path: entryUri.pathSegments.last), entryUri: entryUri, package: null,