Unverified Commit 8cdbafa8 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

libcryptui: fix strictDeps build (#374037)

parents 3be1d58f 51f6a82f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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;
  };
}