about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gst-python
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-09-08 21:03:20 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-09-08 21:53:38 +0200
commit23cc97f16b7854f08cd661830480a91f6947290c (patch)
tree5d9165ea524da771ca41205ebe41d11eda20c84d /pkgs/development/python-modules/gst-python
parent9e142e5a3ed4e8e115fd80bdd8348160e90b729d (diff)
downloadnixlib-23cc97f16b7854f08cd661830480a91f6947290c.tar
nixlib-23cc97f16b7854f08cd661830480a91f6947290c.tar.gz
nixlib-23cc97f16b7854f08cd661830480a91f6947290c.tar.bz2
nixlib-23cc97f16b7854f08cd661830480a91f6947290c.tar.lz
nixlib-23cc97f16b7854f08cd661830480a91f6947290c.tar.xz
nixlib-23cc97f16b7854f08cd661830480a91f6947290c.tar.zst
nixlib-23cc97f16b7854f08cd661830480a91f6947290c.zip
python-gst-python: fix pygi overrides dir path
Before it created a lib directory inside the lib directory.
Diffstat (limited to 'pkgs/development/python-modules/gst-python')
-rw-r--r--pkgs/development/python-modules/gst-python/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/gst-python/default.nix b/pkgs/development/python-modules/gst-python/default.nix
index 9a4a19d59611..1333c4b59a47 100644
--- a/pkgs/development/python-modules/gst-python/default.nix
+++ b/pkgs/development/python-modules/gst-python/default.nix
@@ -24,9 +24,9 @@ stdenv.mkDerivation rec {
   # XXX: in the Libs.private field of python3.pc
   buildInputs = [ ncurses ];
 
-  preConfigure = ''
-    export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.sitePackages}/gi/overrides"
-  '';
+  configureFlags = [
+    "--with-pygi-overrides-dir=$(out)/${python.sitePackages}/gi/overrides"
+  ];
 
   propagatedBuildInputs = [ gst-plugins-base pygobject3 ];