Loading pkgs/by-name/im/imhex/package.nix +11 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ , capstone , dbus , libGLU , libGL , glfw3 , file , perl Loading @@ -19,6 +20,7 @@ , nlohmann_json , yara , rsync , autoPatchelfHook }: let Loading Loading @@ -47,7 +49,7 @@ stdenv.mkDerivation rec { hash = "sha256-8vhOOHfg4D9B9yYgnGZBpcjAjuL4M4oHHax9ad5PJtA="; }; nativeBuildInputs = [ cmake llvm python3 perl pkg-config rsync ]; nativeBuildInputs = [ autoPatchelfHook cmake llvm python3 perl pkg-config rsync ]; buildInputs = [ capstone Loading @@ -64,6 +66,14 @@ stdenv.mkDerivation rec { yara ]; # autoPatchelfHook only searches for *.so and *.so.*, and won't find *.hexpluglib # however, we will append to RUNPATH ourselves autoPatchelfIgnoreMissingDeps = [ "*.hexpluglib" ]; appendRunpaths = [ (lib.makeLibraryPath [ libGL ]) "${placeholder "out"}/lib/imhex/plugins" ]; cmakeFlags = [ "-DIMHEX_OFFLINE_BUILD=ON" "-DUSE_SYSTEM_CAPSTONE=ON" Loading Loading
pkgs/by-name/im/imhex/package.nix +11 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ , capstone , dbus , libGLU , libGL , glfw3 , file , perl Loading @@ -19,6 +20,7 @@ , nlohmann_json , yara , rsync , autoPatchelfHook }: let Loading Loading @@ -47,7 +49,7 @@ stdenv.mkDerivation rec { hash = "sha256-8vhOOHfg4D9B9yYgnGZBpcjAjuL4M4oHHax9ad5PJtA="; }; nativeBuildInputs = [ cmake llvm python3 perl pkg-config rsync ]; nativeBuildInputs = [ autoPatchelfHook cmake llvm python3 perl pkg-config rsync ]; buildInputs = [ capstone Loading @@ -64,6 +66,14 @@ stdenv.mkDerivation rec { yara ]; # autoPatchelfHook only searches for *.so and *.so.*, and won't find *.hexpluglib # however, we will append to RUNPATH ourselves autoPatchelfIgnoreMissingDeps = [ "*.hexpluglib" ]; appendRunpaths = [ (lib.makeLibraryPath [ libGL ]) "${placeholder "out"}/lib/imhex/plugins" ]; cmakeFlags = [ "-DIMHEX_OFFLINE_BUILD=ON" "-DUSE_SYSTEM_CAPSTONE=ON" Loading