Change:
Imhex failed to start. Steps to reproduce the behavior: -shell -p imhex --run imhex Shows the following errors: Imhex start up normally. Adding -v, --verbose doesn't give more information. I don't know how to either.
Maintainer ping:
Can repro on master, but can't repro if I checkout and build from it, it should be possible to bisect and find out at what point this broke.
First bad commit: <details<summarygit bisect log</summary</details
Seems there's a bunch of upstream reports of breakage with glfw 3.4
This might be fixed with The PR was merged into 1.90.6, but 1.33.2 contains a vendored 1.90.4, which doesn't contain the fix. My guess is that updating from the current 1.33.2 in nixpkgs to the latest version upstream (1.35.3 as of today) should fix the issue, as the latter contains a vendored updated to version 1.90.8, which should contain the fix.
Looks like the PR was closed, are you talking about instead?
Yes, sorry. I got the PR reference from: ... which also references the commit you mentioned.
Still crashes on imhex 1.35.3, which I more or less expected.
After applying both PRs and , finally works on my system with the current . Note: both PRs were needed, either one alone didn't fix all the issues for me.
Solved, marking as closed.

Discussion:
<del> { lib , stdenv , cmake , llvm , fetchFromGitHub , mbedtls , gtk3 , pkg-config , capstone , dbus , libGLU , glfw3 , file , perl , python3 , jansson , curl , fmt_8 , nlohmann_json , yara , rsync </del> <ins> { lib, stdenv, cmake, llvm, fetchFromGitHub, mbedtls, gtk3, pkg-config, capstone, dbus, libGLU, libGL, glfw3, file, perl, python3, jansson, curl, fmt_8, nlohmann_json, yara, rsync, autoPatchelfHook, </ins> }: let <del> version = "1.33.2"; patterns_version = "1.33.2"; </del> <ins> version = "1.35.3"; patterns_version = "1.35.3"; </ins> patterns_src = fetchFromGitHub { <ins> name = "ImHex-Patterns-source-${patterns_version}"; </ins> owner = "WerWolv"; repo = "ImHex-Patterns"; rev = "ImHex-v${patterns_version}"; <del> hash = "sha256-5a6aFT8R8vMzPS+Y+fcDV5+olhioEpLjdMqa7qOyGsw="; </del> <ins> hash = "sha256-h86qoFMSP9ehsXJXOccUK9Mfqe+DVObfSRT4TCtK0rY="; </ins> }; in

inherit version; src = fetchFromGitHub { <ins> name = "ImHex-source-${version}"; </ins> fetchSubmodules = true; owner = "WerWolv"; <del> repo = pname; rev = "v${version}"; hash = "sha256-8Ehpk0TjE4itQ7D9Nx74plYwABVufuYmxfxyuSqak1c="; </del> <ins> repo = "ImHex"; rev = "refs/tags/v${version}"; hash = "sha256-8vhOOHfg4D9B9yYgnGZBpcjAjuL4M4oHHax9ad5PJtA="; </ins> }; <del> nativeBuildInputs = [ cmake llvm python3 perl pkg-config rsync ]; </del> <ins> nativeBuildInputs = [ autoPatchelfHook cmake llvm python3 perl pkg-config rsync ]; </ins> buildInputs = [ capstone

yara ]; <ins> # 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" ]; </ins> cmakeFlags = [ "-DIMHEX_OFFLINE_BUILD=ON" "-DUSE_SYSTEM_CAPSTONE=ON"

description = "Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM"; homepage = "https://github.com/WerWolv/ImHex"; license = with licenses; [ gpl2Only ]; <del> maintainers = with maintainers; [ kashw2 cafkafk ]; </del> <ins> maintainers = with maintainers; [ kashw2 cafkafk ]; </ins> platforms = platforms.linux; }; }