flutter.buildFlutterApplication: Add pkg-config to nativeBuildInputs

authored by hacker1024 and committed by FlafyDev 8494ee61 f057034d

+13 -1
+13 -1
pkgs/build-support/flutter/default.nix
··· 7 7 , cacert 8 8 , glib 9 9 , flutter 10 + , pkg-config 10 11 , jq 11 12 , yq 12 13 , moreutils ··· 79 80 fi 80 81 ''; 81 82 82 - nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ wrapGAppsHook ]; 83 + nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ 84 + wrapGAppsHook 85 + 86 + # Flutter requires pkg-config for Linux desktop support, and many plugins 87 + # attempt to use it. 88 + # 89 + # It is available to the `flutter` tool through its wrapper, but it must be 90 + # added here as well so the setup hook adds plugin dependencies to the 91 + # pkg-config search paths. 92 + pkg-config 93 + ]; 94 + 83 95 buildInputs = (args.buildInputs or [ ]) ++ [ glib ]; 84 96 85 97 dontDartBuild = true;