fix: formatting

This commit is contained in:
Patrick Großmann 2023-10-09 00:39:00 +02:00
parent 1f3f080d27
commit 43a0bf764d
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 17 additions and 13 deletions

View file

@ -10,14 +10,14 @@
shell = with pkgs; { shell = with pkgs; {
name = "devshell template"; name = "devshell template";
env = [ env = [
{ {
name = "NIX_LD"; name = "NIX_LD";
eval = "$PWD/ld-linux-x86-64.so.2"; eval = "$PWD/ld-linux-x86-64.so.2";
} }
{ {
name = "NIX_LD_LIBRARY_PATH"; name = "NIX_LD_LIBRARY_PATH";
eval = "$PWD/:\${NIX_LD_LIBRARY_PATH-""}"; eval = "$PWD/:\${NIX_LD_LIBRARY_PATH-\"\"}";
} }
]; ];
}; };
in in

View file

@ -12,7 +12,7 @@
packages = [ packages = [
nil nil
sl sl
patchelf patchelf
]; ];
commands = [ commands = [
{ {
@ -23,10 +23,14 @@
package = alejandra; package = alejandra;
help = "The nix formatter"; help = "The nix formatter";
} }
{ {
package = (python3.withPackages(ps: with ps; [pwntools])); package = python3.withPackages (ps: with ps; [pwntools]);
help = "python with pwntools"; help = "python with pwntools";
} }
{
package = ghidra;
help = "Decompiler";
}
]; ];
env = [ env = [