diff options
author | Adam Joseph <adam@westernsemico.com> | 2022-09-09 19:10:12 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2023-01-15 15:43:47 -0800 |
commit | f1bce90517a2a24eb77937ad5701462c2c543c7f (patch) | |
tree | ace883b5928bd5da708f31bb61de89da24e85a9a | |
parent | 48f2585014d1e27a7ee0736b2c4a3a5dc797e5c6 (diff) | |
download | nixpkgs-f1bce90517a2a24eb77937ad5701462c2c543c7f.tar nixpkgs-f1bce90517a2a24eb77937ad5701462c2c543c7f.tar.gz nixpkgs-f1bce90517a2a24eb77937ad5701462c2c543c7f.tar.bz2 nixpkgs-f1bce90517a2a24eb77937ad5701462c2c543c7f.tar.lz nixpkgs-f1bce90517a2a24eb77937ad5701462c2c543c7f.tar.xz nixpkgs-f1bce90517a2a24eb77937ad5701462c2c543c7f.tar.zst nixpkgs-f1bce90517a2a24eb77937ad5701462c2c543c7f.zip |
default-crate-overrides.nix: add gtk-sys (gtk3)
-rw-r--r-- | pkgs/build-support/rust/default-crate-overrides.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/build-support/rust/default-crate-overrides.nix b/pkgs/build-support/rust/default-crate-overrides.nix index 60b0cfc31c6..deb5a95d2f8 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 ]; |