Move shells to their own files
This commit is contained in:
@@ -76,24 +76,7 @@
|
|||||||
|
|
||||||
checks = import ./checks.nix { inherit system; inherit (inputs) hooks; };
|
checks = import ./checks.nix { inherit system; inherit (inputs) hooks; };
|
||||||
|
|
||||||
devShells = {
|
devShells = import ./shells.nix { inherit self' pkgs; inherit (inputs) nixvimunstable; };
|
||||||
default = pkgs.mkShell {
|
|
||||||
inherit (self'.checks.pre-commit-check) shellHook;
|
|
||||||
buildInputs = with pkgs; [
|
|
||||||
bashInteractive
|
|
||||||
curl
|
|
||||||
git
|
|
||||||
gnutar
|
|
||||||
gzip
|
|
||||||
inject
|
|
||||||
inject-darwin
|
|
||||||
(inputs.nixvimunstable.legacyPackages.${system}.makeNixvim (import ./home/modules/baseline/vim/config.nix { inherit pkgs; inherit (pkgs) lib; }))
|
|
||||||
self'.checks.pre-commit-check.enabledPackages
|
|
||||||
tmux
|
|
||||||
xonsh
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
packages = rec {
|
packages = rec {
|
||||||
default = iso;
|
default = iso;
|
||||||
|
|||||||
+19
@@ -0,0 +1,19 @@
|
|||||||
|
{ self', pkgs, nixvimunstable, ... }:
|
||||||
|
{
|
||||||
|
default = pkgs.mkShell {
|
||||||
|
inherit (self'.checks.pre-commit-check) shellHook;
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
bashInteractive
|
||||||
|
curl
|
||||||
|
git
|
||||||
|
gnutar
|
||||||
|
gzip
|
||||||
|
inject
|
||||||
|
inject-darwin
|
||||||
|
(nixvimunstable.legacyPackages.${system}.makeNixvim (import ./home/modules/baseline/vim/config.nix { inherit pkgs; inherit (pkgs) lib; }))
|
||||||
|
self'.checks.pre-commit-check.enabledPackages
|
||||||
|
tmux
|
||||||
|
xonsh
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user