File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ { pkgs ? import <nixpkgs> { system = builtins . currentSystem ; } ,
2+ lib ? pkgs . lib ,
3+ buildFHSEnv ? pkgs . buildFHSEnv ,
4+ writeScript ? pkgs . writeScript
5+ } :
6+
7+ buildFHSEnv {
8+ name = "binaryninja" ;
9+ targetPkgs = pkgs : with pkgs ; [
10+ dbus
11+ fontconfig
12+ freetype
13+ libGL
14+ libxml2
15+ libxkbcommon
16+ python311
17+ ( python311 . withPackages ( ps : with ps ; [ pypresence ] ) )
18+ xorg . libX11
19+ xorg . libxcb
20+ xorg . xcbutilimage
21+ xorg . xcbutilkeysyms
22+ xorg . xcbutilrenderutil
23+ xorg . xcbutilwm
24+ wayland
25+ zlib
26+ gdb
27+ ] ;
28+ runScript = writeScript "binaryninja.sh" ''
29+ set -e
30+ exec "/opt/binaryninja/binaryninja" # ! change this path if your installation is located somewhere else.
31+ '' ;
32+ meta = {
33+ description = "BinaryNinja" ;
34+ platforms = [ "x86_64-linux" ] ;
35+ } ;
36+ }
You can’t perform that action at this time.
0 commit comments