summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-07-06 20:49:44 +0200
committerMatthias Beyer <mail@beyermatthias.de>2020-07-06 20:54:00 +0200
commit10d4c7e37599fb329f14c105881af1a109ce7887 (patch)
treedf87d0936a4b5a26d64d34b68527f669213f3e2b
parent218c182f7f874c4d1ba041d3ab79d6032f18ee9d (diff)
swappy: Fix meson flags
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Suggested-By: Bruno Bigras <bigras.bruno@gmail.com>
-rw-r--r--pkgs/applications/misc/swappy/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/misc/swappy/default.nix b/pkgs/applications/misc/swappy/default.nix
index 5ce838b42d19..a2447c421a06 100644
--- a/pkgs/applications/misc/swappy/default.nix
+++ b/pkgs/applications/misc/swappy/default.nix
@@ -11,6 +11,7 @@
, libnotify
, gio-sharp
, glibc
+, glib
}:
stdenv.mkDerivation rec {
@@ -28,6 +29,11 @@ stdenv.mkDerivation rec {
buildInputs = [ meson ninja pkgconfig cmake scdoc gio-sharp libnotify gtk pango cairo wayland];
+ mesonFlags = [
+ # TODO: https://github.com/NixOS/nixpkgs/issues/36468
+ "-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
+ ];
+
meta = {
homepage = "https://github.com/jtheoof/swappy";
description = "A Wayland native snapshot editing tool, inspired by Snappy on macOS ";