From a58120cebd55f9cc88eea9b4866f1c71ce168e3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 1 Oct 2017 11:56:08 +0200 Subject: [PATCH] ibus: hack-fix build after glib update It isn't nice, but I didn't see any other quick way to fix this. --- pkgs/tools/inputmethods/ibus/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/inputmethods/ibus/default.nix b/pkgs/tools/inputmethods/ibus/default.nix index 3b076bb8ff6..69ac0ad3ef6 100644 --- a/pkgs/tools/inputmethods/ibus/default.nix +++ b/pkgs/tools/inputmethods/ibus/default.nix @@ -50,6 +50,12 @@ let }; pyEnv = python3.buildEnv.override { extraLibs = [ python3.pkgs.pygobject3 ]; + + # ImportError: No module named site + postBuild = '' + makeWrapper '${glib.dev}/bin/glib-genmarshal' "$out"/bin/glib-genmarshal \ + --unset PYTHONPATH + ''; }; in stdenv.mkDerivation rec { name = "ibus-${version}";