Skip to content

Commit 55a2979

Browse files
committed
docs: add lix subcommand example
1 parent 5e3885e commit 55a2979

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@ nix-forecast -c ".#nixosConfigurations.myMachine"
5353
nix-forecast -c ".#darwinConfigurations.myMac"
5454
```
5555

56+
### As a Lix subcommand
57+
58+
> [!NOTE]
59+
> Requires Lix >= 2.93
60+
61+
```sh
62+
lix forecast nixpkgs#hello
63+
```
64+
5665
## Why?
5766

5867
Finding out if paths are cached can be a bit troublesome in Nix, with commands like `nix build --dry-run`

0 commit comments

Comments
 (0)