binaryninja: disable auto updates

This commit is contained in:
Sean Buckley 2024-07-22 02:58:21 -04:00
parent 5e230cf7c8
commit dd406792a0

View file

@ -36,7 +36,9 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/lib $out/bin
cp -a . $out/lib/binaryninja-personal
uppath="~/.binaryninja/update/`echo -n $out/lib/binaryninja-personal|sha256sum|cut -c-64`"
makeWrapper $out/lib/binaryninja-personal/binaryninja $out/bin/binaryninja \
--run "install -D ${builtins.toFile "noauto" "{\"auto\":false}"} $uppath/manifest" \
--suffix LD_LIBRARY_PATH : "${python3}/lib"
'';