Merge pull request #140129 from tobiasBora/carla_fix_appname
This commit is contained in:
commit
d145117679
1 changed files with 8 additions and 0 deletions
|
@ -44,6 +44,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postPatch = ''
|
||||
# --with-appname="$0" is evaluated with $0=.carla-wrapped instead of carla. Fix that.
|
||||
for file in $(grep -rl -- '--with-appname="$0"'); do
|
||||
filename="$(basename -- "$file")"
|
||||
substituteInPlace "$file" --replace '--with-appname="$0"' "--with-appname=\"$filename\""
|
||||
done
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
postFixup = ''
|
||||
# Also sets program_PYTHONPATH and program_PATH variables
|
||||
|
|
Loading…
Reference in a new issue