Add preInstall ot buildPythonPackage (postInstall already existed) to allow selenium to work properly again.

This commit is contained in:
Rob Vermaas
2013-01-09 15:44:48 +01:00
parent a37cabdbb7
commit cfdf35d6f9
2 changed files with 2 additions and 2 deletions

View File

@@ -37,6 +37,7 @@
runHook postCheck
''
, preInstall ? ""
, postInstall ? ""
, ... } @ attrs:
@@ -63,7 +64,7 @@ python.stdenv.mkDerivation (attrs // {
${preConfigure}
'';
installPhase = ''
installPhase = preInstall + ''
mkdir -p "$out/lib/${python.libPrefix}/site-packages"
echo "installing \`${name}' with \`easy_install'..."