Skip to content

Commit fe58bbd

Browse files
victheutz
authored andcommitted
add usage to readme
1 parent 0ad1650 commit fe58bbd

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,19 @@ across a large flake seemed useful. Especially with the ascendency of
1616
[den](https://den.oeiuwq.com).
1717

1818
![d'ya like dags?](./assets/dags.gif)
19+
20+
## Usage
21+
22+
```nix
23+
# flake.nix
24+
{
25+
inputs.dag.url = "github:theutz/dag";
26+
outputs = inputs:
27+
let
28+
dag = inputs.dag.lib { inherit (inputs.nixpkgs) lib; };
29+
in
30+
{
31+
# use dag API
32+
};
33+
}
34+
```

0 commit comments

Comments
 (0)