nix-templates/pwn/devshell.nix

41 lines
684 B
Nix
Raw Normal View History

2023-10-08 13:42:53 +02:00
{
nixpkgs,
devshell,
...
}: system: let
pkgs = import nixpkgs {
inherit system;
overlays = [devshell.overlays.default];
};
shell = with pkgs; {
name = "devshell template";
packages = [
nil
sl
2023-10-09 00:39:00 +02:00
patchelf
2023-10-08 13:42:53 +02:00
];
commands = [
{
package = statix;
help = "The nix linter";
}
{
package = alejandra;
help = "The nix formatter";
}
2023-10-09 00:39:00 +02:00
{
package = python3.withPackages (ps: with ps; [pwntools]);
help = "python with pwntools";
}
{
package = ghidra;
help = "Decompiler";
}
2023-10-08 13:42:53 +02:00
];
env = [
];
};
in
pkgs.devshell.mkShell shell