Skip to content

Commit

Permalink
devShells/docs: run yarn install as shellHook
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Apr 15, 2024
1 parent efe8835 commit caf6dba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ nix develop .#docs
Run a local development server previewing your changes with:

```sh
yarn install
yarn start
```

Expand Down
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
packages = with pkgs; [
yarn
];
shellHook = ''
yarn install
'';
};
};

Expand Down

0 comments on commit caf6dba

Please sign in to comment.