create devShell
This commit is contained in:
parent
ae9e0ef74f
commit
0f2997146f
1 changed files with 20 additions and 0 deletions
20
flake.nix
20
flake.nix
|
|
@ -102,6 +102,26 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||||
|
|
||||||
|
devShells =
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
"${system}".default = pkgs.mkShell {
|
||||||
|
packages = [
|
||||||
|
pkgs.terraform-ls
|
||||||
|
pkgs.deploy-rs
|
||||||
|
pkgs.zsh
|
||||||
|
];
|
||||||
|
shellhook = ''
|
||||||
|
exec zsh
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue