Skip to content

Commit

Permalink
Update README file
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 28, 2024
1 parent b93005a commit 01b70ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ file:
packages = [ pkgs.iecs ];
```

### flakes
### flake

Add the project input into the `flake.nix` file:

```nix
inputs.iecs.url = "github:sestrella/iecs/nix_templates";
```

overlays
#### Using it as an overlay

Add the project overlay to `nixpkgs`:

Expand All @@ -60,10 +60,12 @@ Use the binary as derivation input for creating packages or shells:
buildInputs = [ pkgs.iecs ];
```

packages
#### Using it as a package

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

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

</details>
Expand Down

0 comments on commit 01b70ee

Please sign in to comment.