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:
parent
dd23d08b90
commit
ce355bdafa
@ -53,12 +53,6 @@ in buildPythonApplication rec {
|
|||||||
'';
|
'';
|
||||||
setupPyBuildFlags = ["--with-Xdummy" "--without-strict"];
|
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 = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/xpra \
|
wrapProgram $out/bin/xpra \
|
||||||
--set XPRA_INSTALL_PREFIX "$out" \
|
--set XPRA_INSTALL_PREFIX "$out" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user