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 {
|
python3.pkgs.buildPythonApplication {
|
||||||
pname = "pdf-quench";
|
pname = "pdf-quench";
|
||||||
|
@ -11,10 +11,9 @@ python3.pkgs.buildPythonApplication {
|
||||||
sha256 = "1rp9rlwr6rarcsxygv5x2c5psgwl6r69k0lsgribgyyla9cf2m7n";
|
sha256 = "1rp9rlwr6rarcsxygv5x2c5psgwl6r69k0lsgribgyyla9cf2m7n";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook ];
|
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
gtk3
|
gtk3
|
||||||
gobject-introspection
|
|
||||||
goocanvas2
|
goocanvas2
|
||||||
poppler_gi
|
poppler_gi
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue