From 9e47bbeddb0b31a76c95b0796277afab704440bc Mon Sep 17 00:00:00 2001 From: Martin <1224973+mavaa@users.noreply.github.com> Date: Sun, 16 Jun 2024 21:13:07 +0200 Subject: [PATCH] Added a nix shell for ghidra (WIP) --- shell.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..906baae --- /dev/null +++ b/shell.nix @@ -0,0 +1,14 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = [ + pkgs.ghidra + pkgs.radare2 + pkgs.neovim + ]; + shellHook = '' + export GHIDRA_PATH=$(dirname $(readlink -f $(which ghidra))) + export PATH=$PATH:$GHIDRA_PATH/support + ''; +} +