devShells: make all shells inherit from default shell

Currently, important tools from the default shell are lost as soon as select-shell is used to switch to another shell. select-shell itself, for example is missing, which makes it impossible to switch back to another shell.
This commit is contained in:
DavHau
2024-07-05 15:00:13 +07:00
parent a89b301425
commit 802f047341
8 changed files with 36 additions and 7 deletions

View File

@@ -74,9 +74,12 @@
{
devShells.docs = pkgs.callPackage ./shell.nix {
inherit (self'.packages) docs clan-cli-docs;
inherit module-docs;
inherit asciinema-player-js;
inherit asciinema-player-css;
inherit
asciinema-player-js
asciinema-player-css
module-docs
self'
;
};
packages = {
docs = pkgs.python3.pkgs.callPackage ./default.nix {