New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zoom-us: 2.2.128100.0627 -> 2.2.128200.0702 #42922
Conversation
export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [ libpulseaudio ]}"${"\\\${LD_LIBRARY_PATH:+':'}"}"\$LD_LIBRARY_PATH" | ||
cd $packagePath | ||
exec ./zoom "\$@" | ||
EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's a way to do this with makeWrapper
, please let me know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(or if it's possible to patch the binary somehow)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You seem to want to do (from makeWrapper.sh's source):
# --run COMMAND : run command before the executable
# The command can push extra flags to a magic list variable
# extraFlagsArray, which are then added to the invocation
# of the executable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, I can't believe I missed that!
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: zoom-us Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: zoom-us Partial log (click to expand)
|
cc maintainers: @danbst |
@coretemp Updated. Also made |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: zoom-us Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: zoom-us Partial log (click to expand)
|
I can't start zoom now
I had same problem in past and fixed it by supplying qt.conf: Maybe this is because I use Gnome Shell as desktop? |
makeWrapper $packagePath/zoom $out/bin/zoom-us \ | ||
--prefix PATH : "${procps}/bin" | ||
--prefix PATH : "${makeBinPath [ pciutils procps ]}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is pciutils
added to runtime PATH?
@@ -24,11 +30,17 @@ in stdenv.mkDerivation { | |||
buildInputs = [ | |||
dbus glib libGL libX11 libXfixes libuuid libxcb qtbase qtdeclarative | |||
qtlocation qtquickcontrols2 qtscript qtwebchannel qtwebengine | |||
libjpeg_turbo pciutils procps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think pciutils
and procps
shouldn't be mentioned here. We specify them as build inputs as arguments in package args, but those shouldn't be discovered later by build script - we refer to those explicitly.
IMO buildInputs
are formed from packages that are used implicitly by build script. pciutils and procps are noop here.
Quoting myself:
I've checked that |
Motivation for this change
Fix #41203. The
zoom
binary loads./libturbojpeg.so
from its CWD, so link the lib and change the CWD in the wrapper.Also adds
libpulseaudio
andpciutils
to runtime paths after noticing these are used.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)