Merge pull request #2 from campbellcole/main

Fix derivation breakage due to nixpkgs switch to 3.12
This commit is contained in:
Moritz Sanft 2025-07-01 20:58:13 +02:00 committed by GitHub
commit 0b2e82fed6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@
...
}:
let
pythonForIDA = pkgs.python3.withPackages (ps: with ps; [ rpyc ]);
pythonForIDA = pkgs.python313.withPackages (ps: with ps; [ rpyc ]);
in
pkgs.stdenv.mkDerivation rec {
pname = "ida-pro";
@ -105,7 +105,7 @@ pkgs.stdenv.mkDerivation rec {
done
# Manually patch libraries that dlopen stuff.
patchelf --add-needed libpython3.12.so $out/lib/libida.so
patchelf --add-needed libpython3.13.so $out/lib/libida.so
patchelf --add-needed libcrypto.so $out/lib/libida.so
# Some libraries come with the installer.