devshell: Add repl command
This commit is contained in:
parent
762f8bd7ec
commit
0d3528c67d
@ -138,6 +138,12 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
commands = [
|
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";
|
name = "home-link";
|
||||||
category = "utilities";
|
category = "utilities";
|
||||||
|
Loading…
Reference in New Issue
Block a user