From f1bce90517a2a24eb77937ad5701462c2c543c7f Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Fri, 9 Sep 2022 19:10:12 -0700 Subject: [PATCH] default-crate-overrides.nix: add gtk-sys (gtk3) --- pkgs/build-support/rust/default-crate-overrides.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/build-support/rust/default-crate-overrides.nix b/pkgs/build-support/rust/default-crate-overrides.nix index 60b0cfc31c67..deb5a95d2f8e 100644 --- a/pkgs/build-support/rust/default-crate-overrides.nix +++ b/pkgs/build-support/rust/default-crate-overrides.nix @@ -5,6 +5,7 @@ , curl , darwin , libgit2 +, gtk3 , libssh2 , openssl , sqlite @@ -132,6 +133,11 @@ in buildInputs = [ gdk-pixbuf ]; }; + gtk-sys = attrs: { + buildInputs = [ gtk3 ]; + nativeBuildInputs = [ pkg-config ]; + }; + gtk4-sys = attrs: { buildInputs = [ gtk4 ]; nativeBuildInputs = [ pkg-config ];