Skip to content

Commit

Permalink
default-crate-overrides.nix: add {gtk4,gdk4,gsk4}-sys
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph committed Sep 10, 2022
1 parent 24d0035 commit c804cea
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pkgs/build-support/rust/default-crate-overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
, foundationdb
, capnproto
, nettle
, gtk4
, clang
, llvmPackages
, linux-pam
Expand Down Expand Up @@ -116,6 +117,21 @@ in
buildInputs = [ gdk-pixbuf ];
};

gtk4-sys = attrs: {
buildInputs = [ gtk4 ];
nativeBuildInputs = [ pkg-config ];
};

gdk4-sys = attrs: {
buildInputs = [ gtk4 ];
nativeBuildInputs = [ pkg-config ];
};

gsk4-sys = attrs: {
buildInputs = [ gtk4 ];
nativeBuildInputs = [ pkg-config ];
};

libgit2-sys = attrs: {
LIBGIT2_SYS_USE_PKG_CONFIG = true;
nativeBuildInputs = [ pkg-config ];
Expand Down

0 comments on commit c804cea

Please sign in to comment.