fix build failure after nixpkgs switched to 3.13 as default python3, pin python version to avoid problem in the future

This commit is contained in:
campbellcole 2025-07-01 11:18:43 -05:00
parent 3382a4aa39
commit 42ed61df4a

View file

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