From ee958a33f29c50345a5068a9f851729b7477ebb7 Mon Sep 17 00:00:00 2001 From: Nicole Prindle Date: Wed, 14 Dec 2022 11:19:44 -0500 Subject: [PATCH] pdf-quench: fix "Namespace Gtk not available" pdf-quench previously failed at runtime with "ValueError: Namespace Gtk not available". This moves `gobject-introspection` to nativeBuildInputs, which fixes the error. --- pkgs/applications/misc/pdf-quench/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/pdf-quench/default.nix b/pkgs/applications/misc/pdf-quench/default.nix index 4255127b3dfe..0245fadb171a 100644 --- a/pkgs/applications/misc/pdf-quench/default.nix +++ b/pkgs/applications/misc/pdf-quench/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, pkgs, python3, wrapGAppsHook}: +{ lib, fetchFromGitHub, pkgs, python3, wrapGAppsHook, gobject-introspection }: python3.pkgs.buildPythonApplication { pname = "pdf-quench"; @@ -11,10 +11,9 @@ python3.pkgs.buildPythonApplication { sha256 = "1rp9rlwr6rarcsxygv5x2c5psgwl6r69k0lsgribgyyla9cf2m7n"; }; - nativeBuildInputs = [ wrapGAppsHook ]; + nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; buildInputs = with pkgs; [ gtk3 - gobject-introspection goocanvas2 poppler_gi ];