From 51f6a82f6d50208f3c1f53028338536fc7962c2e Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Tue, 14 Jan 2025 20:00:44 +0100 Subject: [PATCH] libcryptui: fix strictDeps build --- pkgs/development/libraries/libcryptui/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/libraries/libcryptui/default.nix b/pkgs/development/libraries/libcryptui/default.nix index ab3f1bff6b81..a019b9437ec8 100644 --- a/pkgs/development/libraries/libcryptui/default.nix +++ b/pkgs/development/libraries/libcryptui/default.nix @@ -31,6 +31,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config + dbus-glib # dbus-binding-tool + gtk3 # AM_GLIB_GNU_GETTEXT intltool autoreconfHook ]; @@ -44,6 +46,9 @@ stdenv.mkDerivation rec { ]; propagatedBuildInputs = [ dbus-glib ]; + env.GNUPG = lib.getExe gnupg; + env.GPGME_CONFIG = lib.getExe' (lib.getDev gpgme) "gpgme-config"; + enableParallelBuilding = true; passthru = { @@ -59,5 +64,8 @@ stdenv.mkDerivation rec { homepage = "https://gitlab.gnome.org/GNOME/libcryptui"; license = licenses.lgpl21Plus; platforms = platforms.unix; + # ImportError: lib/gobject-introspection/giscanner/_giscanner.cpython-312-x86_64-linux-gnu.so + # cannot open shared object file: No such file or directory + broken = stdenv.buildPlatform != stdenv.hostPlatform; }; }