From 43a0bf764de18cf547412f63bd653004f0a3906b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gro=C3=9Fmann?= Date: Mon, 9 Oct 2023 00:39:00 +0200 Subject: [PATCH] fix: formatting --- pwn-ld/devshell.nix | 16 ++++++++-------- pwn/devshell.nix | 14 +++++++++----- 2 files changed, 17 insertions(+), 13 deletions(-) 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 = [