treewide: add developer shell

Link: https://github.com/danth/stylix/pull/519
This commit is contained in:
NAHO 2024-08-21 17:15:29 +02:00
parent 7c8874b311
commit 703f49aaca
No known key found for this signature in database
GPG key ID: 229CB671D09B95F5
3 changed files with 12 additions and 0 deletions

View file

@ -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)

View file

@ -0,0 +1,7 @@
# Development Environment
To enter the developer shell, run:
```console
nix develop
```

View file

@ -86,6 +86,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; };