summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-03-12 01:18:35 -0400
committerSeth Flynn <[email protected]>2025-03-12 20:26:38 -0400
commit6cf2d778397d8e21d9100589f35fb402fa9beb56 (patch)
treeb3287c2e5418446b22488041af44dc9ddc81c519 /shell.nix
parentfa4eb3a1ab14173cf27be23c0fde71a4c73f974c (diff)
nix: flake.nix -> shell.nix
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;
+}