* wrapPythonPrograms: don't hard-code the Python library prefix.

svn path=/nixpkgs/branches/modular-python/; revision=26594
This commit is contained in:
Eelco Dolstra
2011-03-29 15:19:59 +00:00
parent 11b67ccee5
commit 353d450867
7 changed files with 29 additions and 22 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
{ fetchurl, stdenv, python, pkgconfig, dbus, dbus_glib
, ncurses, libX11, libXt, libXpm, libXaw, libXext, wrapPython
, libxslt, xmlto, gpsdUser ? "gpsd", pythonPackages }:
{ fetchurl, stdenv, pythonPackages, pkgconfig, dbus, dbus_glib
, ncurses, libX11, libXt, libXpm, libXaw, libXext
, libxslt, xmlto, gpsdUser ? "gpsd" }:
stdenv.mkDerivation rec {
name = "gpsd-2.39";
@@ -11,9 +11,9 @@ stdenv.mkDerivation rec {
};
buildInputs = [
python pkgconfig dbus dbus_glib ncurses
libX11 libXt libXpm libXaw libXext
wrapPython libxslt xmlto
pythonPackages.python pythonPackages.wrapPython
pkgconfig dbus dbus_glib ncurses libX11 libXt libXpm libXaw libXext
libxslt xmlto
];
pythonPath = [ pythonPackages.curses ];