devshell: Add repl command

This commit is contained in:
Jack O'Sullivan 2022-02-15 00:12:10 +00:00
parent 762f8bd7ec
commit 0d3528c67d

View File

@ -138,6 +138,12 @@
];
commands = [
{
name = "repl";
category = "utilities";
help = "Open a `nix repl` with this flake";
command = ''nix repl ${pkgs.writeText "repl.nix" "builtins.getFlake \"${./.}\""}'';
}
{
name = "home-link";
category = "utilities";