ida-pro: 9.0.0.240925 -> 9.0.0.241217

This commit is contained in:
Moritz Sanft 2025-02-09 21:22:04 +01:00
parent 5e953785e6
commit 751e159d5e
No known key found for this signature in database
GPG key ID: 335D28368B1DA615

View file

@ -9,7 +9,7 @@ let
in
pkgs.stdenv.mkDerivation rec {
pname = "ida-pro";
version = "9.0.0.240925";
version = "9.0.0.241217";
src = runfile;
@ -66,7 +66,7 @@ pkgs.stdenv.mkDerivation rec {
xorg.xcbutilrenderutil
xorg.xcbutilwm
zlib
curl
curl.out
pythonForIDA
];
buildInputs = runtimeDependencies;
@ -76,16 +76,28 @@ pkgs.stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/lib $out/opt
function print_debug_info() {
if [ -f installbuilder_installer.log ]; then
cat installbuilder_installer.log
else
echo "No debug information available."
fi
}
trap print_debug_info EXIT
mkdir -p $out/bin $out/lib $out/opt/.local/share/applications
# IDA depends on quite some things extracted by the runfile, so first extract everything
# into $out/opt, then remove the unnecessary files and directories.
IDADIR=$out/opt
IDADIR="$out/opt"
# IDA doesn't always honor `--prefix`, so we need to hack and set $HOME here.
HOME="$out/opt"
# Invoke the installer with the dynamic loader directly, avoiding the need
# to copy it to fix permissions and patch the executable.
$(cat $NIX_CC/nix-support/dynamic-linker) $src \
--mode unattended --prefix $IDADIR
--mode unattended --debuglevel 4 --prefix $IDADIR
# Link the exported libraries to the output.
for lib in $IDADIR/libida*; do