Skip to content

Commit

Permalink
treewide: add developer shell
Browse files Browse the repository at this point in the history
Link: danth#519
  • Loading branch information
trueNAHO committed Sep 9, 2024
1 parent ef81ad9 commit ae43468
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Contributing

- [Commit Convention](commit_convention.md)
- [Development Environment](development_environment.md)
- [Adding modules](modules.md)
- [Testbeds](testbeds.md)
- [Style guide](styling.md)
7 changes: 7 additions & 0 deletions docs/src/development_environment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Development Environment

To enter the developer shell, run:

```console
nix develop
```
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
inherit (nixpkgs) lib;
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell {
packages = [ inputs.home-manager.packages.${system}.default ];
};

packages = let
universalPackages = {
docs = import ./docs { inherit pkgs inputs lib; };
Expand Down

0 comments on commit ae43468

Please sign in to comment.