From 2dc524e2a701e86a113f536fdd7f430afac183de Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Mon, 23 Oct 2023 02:39:34 +1100 Subject: [PATCH] flutter: Remove any existing Dart SDK --- pkgs/development/compilers/flutter/flutter.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/flutter/flutter.nix b/pkgs/development/compilers/flutter/flutter.nix index 1f732f81476a..6d011b6f45f9 100644 --- a/pkgs/development/compilers/flutter/flutter.nix +++ b/pkgs/development/compilers/flutter/flutter.nix @@ -67,6 +67,7 @@ let mkdir -p $out cp -r . $out + rm -rf $out/bin/cache/dart-sdk ln -sf ${dart} $out/bin/cache/dart-sdk # The regular launchers are designed to download/build/update SDK