xpra: install data files to correct location in $out

The patch is no longer needed, with the wheel-based method that we use now
data_files *are* relative to the prefix.
This commit is contained in:
Benno Fünfstück 2017-03-06 13:06:51 +01:00
parent dd23d08b90
commit ce355bdafa

View File

@ -53,12 +53,6 @@ in buildPythonApplication rec {
'';
setupPyBuildFlags = ["--with-Xdummy" "--without-strict"];
preInstall = ''
# see https://bitbucket.org/pypa/setuptools/issue/130/install_data-doesnt-respect-prefix
${python}/bin/${python.executable} setup.py install_data --install-dir=$out --root=$out
sed -i '/ = data_files/d' setup.py
'';
postInstall = ''
wrapProgram $out/bin/xpra \
--set XPRA_INSTALL_PREFIX "$out" \