mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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.
This commit is contained in:
parent
69ce4fbad8
commit
ee958a33f2
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user