From ad510f4221d4a76dfd079f80b2be3cd8b98cd498 Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Mon, 17 Apr 2023 03:07:18 +1000 Subject: [PATCH] flutter: package-overrides: handy_window: init --- .../flutter/package-overrides/default.nix | 1 + .../package-overrides/handy-window/default.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 pkgs/development/compilers/flutter/package-overrides/handy-window/default.nix diff --git a/pkgs/development/compilers/flutter/package-overrides/default.nix b/pkgs/development/compilers/flutter/package-overrides/default.nix index 6541c367bef5..dc4613fd5bb9 100644 --- a/pkgs/development/compilers/flutter/package-overrides/default.nix +++ b/pkgs/development/compilers/flutter/package-overrides/default.nix @@ -2,4 +2,5 @@ { flutter_secure_storage_linux = callPackage ./flutter-secure-storage-linux { }; + handy_window = callPackage ./handy-window { }; } diff --git a/pkgs/development/compilers/flutter/package-overrides/handy-window/default.nix b/pkgs/development/compilers/flutter/package-overrides/handy-window/default.nix new file mode 100644 index 000000000000..49b5d47487e8 --- /dev/null +++ b/pkgs/development/compilers/flutter/package-overrides/handy-window/default.nix @@ -0,0 +1,14 @@ +{ lib +, cairo +, fribidi +}: + +{ ... }: + +{ CFLAGS ? "" +, ... +}: + +{ + CFLAGS = "${CFLAGS} -isystem ${lib.getOutput "dev" fribidi}/include/fribidi -isystem ${lib.getOutput "dev" cairo}/include"; +}