summary refs log tree commit diff
path: root/pkgs/applications/office/impressive
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-03-01 17:08:30 +0000
committerLudovic Courtès <ludo@gnu.org>2010-03-01 17:08:30 +0000
commit0bae3266ebab9ba41dee4d028338635f7e6841b5 (patch)
tree29e12911928df3f3f015c48158677a896462b1c5 /pkgs/applications/office/impressive
parenta86e0ad8aa335b1b878ffe3337df5c68399d0333 (diff)
downloadnixpkgs-0bae3266ebab9ba41dee4d028338635f7e6841b5.tar
nixpkgs-0bae3266ebab9ba41dee4d028338635f7e6841b5.tar.gz
nixpkgs-0bae3266ebab9ba41dee4d028338635f7e6841b5.tar.bz2
nixpkgs-0bae3266ebab9ba41dee4d028338635f7e6841b5.tar.lz
nixpkgs-0bae3266ebab9ba41dee4d028338635f7e6841b5.tar.xz
nixpkgs-0bae3266ebab9ba41dee4d028338635f7e6841b5.tar.zst
nixpkgs-0bae3266ebab9ba41dee4d028338635f7e6841b5.zip
Impressive: Fix references to Python's directories.
svn path=/nixpkgs/trunk/; revision=20318
Diffstat (limited to 'pkgs/applications/office/impressive')
-rw-r--r--pkgs/applications/office/impressive/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/office/impressive/default.nix b/pkgs/applications/office/impressive/default.nix
index 5de501ebd41..aa09b48ab27 100644
--- a/pkgs/applications/office/impressive/default.nix
+++ b/pkgs/applications/office/impressive/default.nix
@@ -43,8 +43,7 @@ in
          --prefix PYTHONPATH ":" \
                   ${lib.concatStringsSep ":"
                      (map (path:
-                            path + "/lib/python2.5/site-packages:" +
-                            path + "/lib/python2.4/site-packages")
+                            path + "/lib/${python.libPrefix}/site-packages")
                           [ pil pyopengl pygame setuptools ])} \
          --prefix LIBRARY_PATH ":" "${mesa}/lib:${freeglut}/lib"
     '';
@@ -73,5 +72,8 @@ in
       homepage = http://impressive.sourceforge.net/;
 
       license = "GPLv2";
+
+      maintainers = [ stdenv.lib.maintainers.ludo ];
+      platforms = stdenv.lib.platforms.mesaPlatforms;
     };
   }