We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6a26e6 commit 62f9c29Copy full SHA for 62f9c29
1 file changed
flake.nix
@@ -40,6 +40,9 @@
40
41
devShells = {
42
default = devshell.mkShell {
43
+ bash.extra = ''
44
+ export MDBOOK_SERVER_ADDRESS="http://localhost:3000"
45
+ '';
46
commands = {
47
packages = [
48
"diffutils" # used by golangci-lint
@@ -49,6 +52,8 @@
49
52
{
50
53
prefix = "nix run .#";
51
54
inherit packages;
55
+ helps.docs = ''Run mdBook server at "$MDBOOK_SERVER_ADDRESS"'';
56
+ interpolates.docs = true;
57
}
58
59
name = "nix fmt";
0 commit comments