mirror of
https://github.com/kittywitch/ida-pro-overlay.git
synced 2026-02-09 08:51:00 -08:00
ida-pro: 9.0.0.240925 -> 9.0.0.241217
This commit is contained in:
parent
5e953785e6
commit
751e159d5e
1 changed files with 17 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue