teams: reorder arguments produced by wrapper
this fixes launching meetings from links
This commit is contained in:
parent
e5622614c2
commit
41f345cbfc
@ -82,6 +82,11 @@ stdenv.mkDerivation rec {
|
|||||||
echo "Adding runtime dependencies to RPATH of Node module $mod"
|
echo "Adding runtime dependencies to RPATH of Node module $mod"
|
||||||
patchelf --set-rpath "$runtime_rpath:$mod_rpath" "$mod"
|
patchelf --set-rpath "$runtime_rpath:$mod_rpath" "$mod"
|
||||||
done;
|
done;
|
||||||
|
|
||||||
|
# fix for https://docs.microsoft.com/en-us/answers/questions/298724/open-teams-meeting-link-on-linux-doens39t-work.html?childToView=309406#comment-309406
|
||||||
|
# while we create the wrapper ourselves, gappsWrapperArgs leads to the same issue
|
||||||
|
# another option would be to introduce gappsWrapperAppendedArgs, to allow control of positioning
|
||||||
|
substituteInPlace "$out/bin/teams" --replace '.teams-wrapped" --disable-namespace-sandbox --disable-setuid-sandbox "$@"' '.teams-wrapped" "$@" --disable-namespace-sandbox --disable-setuid-sandbox'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user