Skip to content

Commit 8bbd971

Browse files
committed
fix: add empty bin/cache/engine.realm
NixOS/nixpkgs#405381
1 parent ee16c91 commit 8bbd971

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/flutter/flutter.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ let
137137
rm -rf $out/bin/cache/dart-sdk
138138
ln -sf ${dart} $out/bin/cache/dart-sdk
139139
140+
# Create engine.realm required by Flutter Gradle plugin
141+
touch $out/bin/cache/engine.realm
142+
140143
# The regular launchers are designed to download/build/update SDK
141144
# components, and are not very useful in Nix.
142145
# Replace them with simple links and wrappers.

0 commit comments

Comments
 (0)