* 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
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, which, zlib, pkgconfig, SDL, openssl, python
{ stdenv, fetchurl, which, zlib, pkgconfig, SDL, openssl
, libuuid, gettext, ncurses, dev86, iasl, pciutils, bzip2, xz
, lvm2, utillinux, procps, texinfo, perl, wrapPython, pythonPackages }:
, lvm2, utillinux, procps, texinfo, perl, pythonPackages }:
with stdenv.lib;
@@ -50,8 +50,9 @@ stdenv.mkDerivation {
];
buildInputs =
[ which zlib pkgconfig SDL openssl python libuuid gettext ncurses
dev86 iasl pciutils bzip2 xz texinfo perl wrapPython
[ which zlib pkgconfig SDL openssl libuuid gettext ncurses
dev86 iasl pciutils bzip2 xz texinfo perl
pythonPackages.python pythonPackages.wrapPython
];
pythonPath = [ pythonPackages.curses ];