carla: properly wrap plugin programs. fixes #67923
This commit is contained in:
parent
5616f9937a
commit
8f32a16152
@ -47,6 +47,7 @@ stdenv.mkDerivation rec {
|
|||||||
postFixup = ''
|
postFixup = ''
|
||||||
# Also sets program_PYTHONPATH and program_PATH variables
|
# Also sets program_PYTHONPATH and program_PATH variables
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
|
wrapPythonProgramsIn "$out/share/carla/resources" "$out $pythonPath"
|
||||||
|
|
||||||
find "$out/share/carla" -maxdepth 1 -type f -not -name "*.py" -print0 | while read -d "" f; do
|
find "$out/share/carla" -maxdepth 1 -type f -not -name "*.py" -print0 | while read -d "" f; do
|
||||||
patchPythonScript "$f"
|
patchPythonScript "$f"
|
||||||
@ -58,6 +59,12 @@ stdenv.mkDerivation rec {
|
|||||||
--prefix PATH : "$program_PATH:${which}/bin" \
|
--prefix PATH : "$program_PATH:${which}/bin" \
|
||||||
--set PYTHONNOUSERSITE true
|
--set PYTHONNOUSERSITE true
|
||||||
done
|
done
|
||||||
|
|
||||||
|
find "$out/share/carla/resources" -maxdepth 1 -type f -not -name "*.py" -print0 | while read -d "" f; do
|
||||||
|
wrapQtApp "$f" \
|
||||||
|
--prefix PATH : "$program_PATH:${which}/bin" \
|
||||||
|
--set PYTHONNOUSERSITE true
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user