diff --git a/pwn-ld/devshell.nix b/pwn-ld/devshell.nix index 93e63e2..af6eea1 100644 --- a/pwn-ld/devshell.nix +++ b/pwn-ld/devshell.nix @@ -10,14 +10,14 @@ shell = with pkgs; { name = "devshell template"; env = [ - { - name = "NIX_LD"; - eval = "$PWD/ld-linux-x86-64.so.2"; - } - { - name = "NIX_LD_LIBRARY_PATH"; - eval = "$PWD/:\${NIX_LD_LIBRARY_PATH-""}"; - } + { + name = "NIX_LD"; + eval = "$PWD/ld-linux-x86-64.so.2"; + } + { + name = "NIX_LD_LIBRARY_PATH"; + eval = "$PWD/:\${NIX_LD_LIBRARY_PATH-\"\"}"; + } ]; }; in diff --git a/pwn/devshell.nix b/pwn/devshell.nix index ced6115..de87de4 100644 --- a/pwn/devshell.nix +++ b/pwn/devshell.nix @@ -12,7 +12,7 @@ packages = [ nil sl - patchelf + patchelf ]; commands = [ { @@ -23,10 +23,14 @@ package = alejandra; help = "The nix formatter"; } - { - package = (python3.withPackages(ps: with ps; [pwntools])); - help = "python with pwntools"; - } + { + package = python3.withPackages (ps: with ps; [pwntools]); + help = "python with pwntools"; + } + { + package = ghidra; + help = "Decompiler"; + } ]; env = [