mirror of
https://github.com/kittywitch/ida-pro-overlay.git
synced 2026-02-09 08:41:36 -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
|
in
|
||||||
pkgs.stdenv.mkDerivation rec {
|
pkgs.stdenv.mkDerivation rec {
|
||||||
pname = "ida-pro";
|
pname = "ida-pro";
|
||||||
version = "9.0.0.240925";
|
version = "9.0.0.241217";
|
||||||
|
|
||||||
src = runfile;
|
src = runfile;
|
||||||
|
|
||||||
|
|
@ -66,7 +66,7 @@ pkgs.stdenv.mkDerivation rec {
|
||||||
xorg.xcbutilrenderutil
|
xorg.xcbutilrenderutil
|
||||||
xorg.xcbutilwm
|
xorg.xcbutilwm
|
||||||
zlib
|
zlib
|
||||||
curl
|
curl.out
|
||||||
pythonForIDA
|
pythonForIDA
|
||||||
];
|
];
|
||||||
buildInputs = runtimeDependencies;
|
buildInputs = runtimeDependencies;
|
||||||
|
|
@ -76,16 +76,28 @@ pkgs.stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
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
|
# IDA depends on quite some things extracted by the runfile, so first extract everything
|
||||||
# into $out/opt, then remove the unnecessary files and directories.
|
# 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
|
# Invoke the installer with the dynamic loader directly, avoiding the need
|
||||||
# to copy it to fix permissions and patch the executable.
|
# to copy it to fix permissions and patch the executable.
|
||||||
$(cat $NIX_CC/nix-support/dynamic-linker) $src \
|
$(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.
|
# Link the exported libraries to the output.
|
||||||
for lib in $IDADIR/libida*; do
|
for lib in $IDADIR/libida*; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue