From c10a1c6e1cf46cb0ed042f10970e89e585be6d97 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 8 Sep 2017 16:17:19 +0200 Subject: [PATCH] pitivi: fix path to gst-python This fixes the `object() takes no parameters` error that shows up on startup. --- pkgs/applications/video/pitivi/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/video/pitivi/default.nix b/pkgs/applications/video/pitivi/default.nix index c2c64bfa4966..2317765118f6 100644 --- a/pkgs/applications/video/pitivi/default.nix +++ b/pkgs/applications/video/pitivi/default.nix @@ -46,6 +46,8 @@ in stdenv.mkDerivation rec { dbus-python ]); + PYTHONPATH = "${python3Packages.gst-python}/lib/${python3Packages.python.sitePackages}"; + meta = with stdenv.lib; { description = "Non-Linear video editor utilizing the power of GStreamer"; homepage = "http://pitivi.org/";