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 , cacert 8 , glib 9 , flutter 10 , jq 11 , yq 12 , moreutils ··· 79 fi 80 ''; 81 82 - nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ wrapGAppsHook ]; 83 buildInputs = (args.buildInputs or [ ]) ++ [ glib ]; 84 85 dontDartBuild = true;
··· 7 , cacert 8 , glib 9 , flutter 10 + , pkg-config 11 , jq 12 , yq 13 , moreutils ··· 80 fi 81 ''; 82 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 + 95 buildInputs = (args.buildInputs or [ ]) ++ [ glib ]; 96 97 dontDartBuild = true;