flutterPackages-source.*.engine: don't remove gen (#359123)

This commit is contained in:
Tristan Ross 2024-11-27 22:51:44 -08:00 committed by GitHub
commit e405f30513
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -312,7 +312,7 @@ stdenv.mkDerivation (finalAttrs: {
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
rm -rf $out/out/$outName/{obj,gen,exe.unstripped,lib.unstripped,zip_archives} rm -rf $out/out/$outName/{obj,exe.unstripped,lib.unstripped,zip_archives}
rm $out/out/$outName/{args.gn,build.ninja,build.ninja.d,compile_commands.json,toolchain.ninja} rm $out/out/$outName/{args.gn,build.ninja,build.ninja.d,compile_commands.json,toolchain.ninja}
find $out/out/$outName -name '*_unittests' -delete find $out/out/$outName -name '*_unittests' -delete
find $out/out/$outName -name '*_benchmarks' -delete find $out/out/$outName -name '*_benchmarks' -delete