Skip to content

Commit

Permalink
readme: add nix section
Browse files Browse the repository at this point in the history
  • Loading branch information
aimixsaka committed Jul 24, 2024
1 parent dfdab23 commit 3fe6115
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,28 @@ The output will be in the `.next` directory, you can run it with:
pnpm start
```

### Nix Way
Enter a shell(zsh) environment with node, pnpm... :
```
nix develop
```

Build this project :
```
nix build
```
this will create a `result` point to nix store path of sast-link

Run :
```
nix run
```
or
```
./result/bin/sast-link
```
if `nix build` before

### Project Structure

```txt
Expand Down

0 comments on commit 3fe6115

Please sign in to comment.