Skip to content

Commit

Permalink
Update code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 28, 2024
1 parent 01b70ee commit 43ed470
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,19 @@ pkgs = import nixpkgs {
Use the binary as derivation input for creating packages or shells:

```nix
buildInputs = [ pkgs.iecs ];
pkgs.mkShell {
buildInputs = [ pkgs.iecs ];
};
```

#### Using it as a package

Use the binary as derivation input for creating packages or shells:

```nix
buildInputs = [ iecs.packages.${system}.default ];
pkgs.mkShell {
buildInputs = [ iecs.packages.${system}.default ];
};
```

</details>
Expand Down

0 comments on commit 43ed470

Please sign in to comment.