diff options
author | hacker1024 <hacker1024@users.sourceforge.net> | 2023-10-29 00:20:50 +1100 |
---|---|---|
committer | FlafyDev <flafyarazi@gmail.com> | 2023-12-26 17:08:51 +0200 |
commit | 8494ee610bf249bc691b7257d54495ee2f7bdc54 (patch) | |
tree | f5536491a0cc5f78cf1bf65653aa0ec907106a5c /pkgs/build-support | |
parent | f057034d6a7fc4739e6c1a66b7ced248170296f4 (diff) | |
download | nixlib-8494ee610bf249bc691b7257d54495ee2f7bdc54.tar nixlib-8494ee610bf249bc691b7257d54495ee2f7bdc54.tar.gz nixlib-8494ee610bf249bc691b7257d54495ee2f7bdc54.tar.bz2 nixlib-8494ee610bf249bc691b7257d54495ee2f7bdc54.tar.lz nixlib-8494ee610bf249bc691b7257d54495ee2f7bdc54.tar.xz nixlib-8494ee610bf249bc691b7257d54495ee2f7bdc54.tar.zst nixlib-8494ee610bf249bc691b7257d54495ee2f7bdc54.zip |
flutter.buildFlutterApplication: Add pkg-config to nativeBuildInputs
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/flutter/default.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/build-support/flutter/default.nix b/pkgs/build-support/flutter/default.nix index b51b3023b6eb..4d00e177370e 100644 --- a/pkgs/build-support/flutter/default.nix +++ b/pkgs/build-support/flutter/default.nix @@ -7,6 +7,7 @@ , cacert , glib , flutter +, pkg-config , jq , yq , moreutils @@ -79,7 +80,18 @@ fi ''; - nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ wrapGAppsHook ]; + nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ + wrapGAppsHook + + # Flutter requires pkg-config for Linux desktop support, and many plugins + # attempt to use it. + # + # It is available to the `flutter` tool through its wrapper, but it must be + # added here as well so the setup hook adds plugin dependencies to the + # pkg-config search paths. + pkg-config + ]; + buildInputs = (args.buildInputs or [ ]) ++ [ glib ]; dontDartBuild = true; |