diff options
author | hacker1024 <hacker1024@users.sourceforge.net> | 2023-10-23 05:11:31 +1100 |
---|---|---|
committer | Maciej Krüger <mkg20001@gmail.com> | 2023-12-21 11:44:14 +0100 |
commit | b6a3ff83e197f821018e273a02e8062a867998a7 (patch) | |
tree | 1c7250d8bca69e892b5a8cd8194be2cfd172db66 /pkgs/development/compilers/flutter | |
parent | 44030b7f7d692a25d0dfcc5d6a6fead110d3370b (diff) | |
download | nixlib-b6a3ff83e197f821018e273a02e8062a867998a7.tar nixlib-b6a3ff83e197f821018e273a02e8062a867998a7.tar.gz nixlib-b6a3ff83e197f821018e273a02e8062a867998a7.tar.bz2 nixlib-b6a3ff83e197f821018e273a02e8062a867998a7.tar.lz nixlib-b6a3ff83e197f821018e273a02e8062a867998a7.tar.xz nixlib-b6a3ff83e197f821018e273a02e8062a867998a7.tar.zst nixlib-b6a3ff83e197f821018e273a02e8062a867998a7.zip |
flutter: Propagate .git in SDK symlink derivation
Diffstat (limited to 'pkgs/development/compilers/flutter')
-rw-r--r-- | pkgs/development/compilers/flutter/sdk-symlink.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/compilers/flutter/sdk-symlink.nix b/pkgs/development/compilers/flutter/sdk-symlink.nix index c56a15dee462..044a508805f5 100644 --- a/pkgs/development/compilers/flutter/sdk-symlink.nix +++ b/pkgs/development/compilers/flutter/sdk-symlink.nix @@ -12,6 +12,11 @@ let postBuild = '' wrapProgram "$out/bin/flutter" \ --set-default FLUTTER_ROOT "$out" + + # symlinkJoin seems to be missing the .git directory for some reason. + if [ -d '${flutter.sdk}/.git' ]; then + ln -s '${flutter.sdk}/.git' "$out" + fi ''; passthru = flutter.passthru // { |