Add preInstall ot buildPythonPackage (postInstall already existed) to allow selenium to work properly again.
This commit is contained in:
parent
a37cabdbb7
commit
cfdf35d6f9
@ -37,6 +37,7 @@
|
|||||||
runHook postCheck
|
runHook postCheck
|
||||||
''
|
''
|
||||||
|
|
||||||
|
, preInstall ? ""
|
||||||
, postInstall ? ""
|
, postInstall ? ""
|
||||||
|
|
||||||
, ... } @ attrs:
|
, ... } @ attrs:
|
||||||
@ -63,7 +64,7 @@ python.stdenv.mkDerivation (attrs // {
|
|||||||
${preConfigure}
|
${preConfigure}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = preInstall + ''
|
||||||
mkdir -p "$out/lib/${python.libPrefix}/site-packages"
|
mkdir -p "$out/lib/${python.libPrefix}/site-packages"
|
||||||
|
|
||||||
echo "installing \`${name}' with \`easy_install'..."
|
echo "installing \`${name}' with \`easy_install'..."
|
||||||
|
@ -2599,7 +2599,6 @@ let pythonPackages = python.modules // rec {
|
|||||||
sha256 = "1wif9r6307qhlcp2zbg6n05yvxxn9ppkxh8gpsplcbyh22zi7bcd";
|
sha256 = "1wif9r6307qhlcp2zbg6n05yvxxn9ppkxh8gpsplcbyh22zi7bcd";
|
||||||
};
|
};
|
||||||
|
|
||||||
preInstallPhases = "preInstall";
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
cp ${x_ignore_nofocus}/* .
|
cp ${x_ignore_nofocus}/* .
|
||||||
sed -i 's|dlopen(library,|dlopen("libX11.so.6",|' x_ignore_nofocus.c
|
sed -i 's|dlopen(library,|dlopen("libX11.so.6",|' x_ignore_nofocus.c
|
||||||
|
Loading…
Reference in New Issue
Block a user