summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..735fe6a
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,33 @@
+{
+ pkgs ? import <nixpkgs> {
+ inherit system;
+ config = { };
+ overlays = [ ];
+ },
+ system ? builtins.currentSystem,
+}:
+
+let
+ inherit (pkgs) lib;
+ ci-shell = import ./ci-shell.nix { inherit pkgs; };
+in
+
+pkgs.mkShellNoCC {
+ packages =
+ lib.attrValues {
+ inherit (pkgs)
+ # Language servers
+ astro-language-server
+ typescript-language-server
+ vscode-langservers-extracted
+
+ # For CI
+ actionlint
+
+ # Nix tools
+ deadnix
+ statix
+ ;
+ }
+ ++ ci-shell.nativeBuildInputs;
+}