about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-01-19 16:27:47 +0100
committerGitHub <noreply@github.com>2023-01-19 16:27:47 +0100
commit15ff398187bb43d02b6ff5eaa6c36e87d65daecd (patch)
tree25af31f503b8a03dad93c955c643611003a46a8b /pkgs/applications/editors
parent90aa73fc8e1550b16d1ebdc436e48d9951f7989b (diff)
parent03f32348f47025b2acc7878533b6613d98e4a0aa (diff)
Merge pull request #197762 from panicgh/imhex
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/imhex/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/applications/editors/imhex/default.nix b/pkgs/applications/editors/imhex/default.nix
index b35f9aa06ca43..50693018f0814 100644
--- a/pkgs/applications/editors/imhex/default.nix
+++ b/pkgs/applications/editors/imhex/default.nix
@@ -22,13 +22,13 @@
 
 let
   # when bumping the version, check if imhex has gotten support for the capstone version in nixpkgs
-  version = "1.19.3";
+  version = "1.26.2";
 
   patterns_src = fetchFromGitHub {
     owner = "WerWolv";
     repo = "ImHex-Patterns";
     rev = "ImHex-v${version}";
-    hash = "sha256-mukGPN2TugJZLLuZ5FTvZ4DxUsMGfVNhBFAPnBRC0qs=";
+    hash = "sha256-2+7bJzgwHfXcINM5oxwi3vEbUtq9gGJc/uxFOwT4RnM=";
   };
 
 in
@@ -41,7 +41,7 @@ gcc12Stdenv.mkDerivation rec {
     owner = "WerWolv";
     repo = pname;
     rev = "v${version}";
-    hash = "sha256-SFv5ulyjm5Yf+3Gpx+A74so2YClCJx1sx0LE5fh5eG4=";
+    hash = "sha256-H2bnRByCUAltngmVWgPW4vW8k5AWecOAzwtBKsjbpTw=";
   };
 
   nativeBuildInputs = [ cmake llvm python3 perl pkg-config ];
@@ -72,10 +72,8 @@ gcc12Stdenv.mkDerivation rec {
     "-DUSE_SYSTEM_YARA=ON"
   ];
 
-  # for reasons unknown, the built-in plugin isn't found unless made available under $out/bin
   postInstall = ''
-    ln -s $out/share/imhex/plugins $out/bin/
-
+    mkdir -p $out/share/imhex
     for d in ${patterns_src}/{constants,encodings,includes,magic,patterns}; do
       cp -r $d $out/share/imhex/
     done