aboutsummaryrefslogtreecommitdiff
path: root/infra/nix/devshell.nix
diff options
context:
space:
mode:
authorvkcku <[email protected]>2026-06-01 09:43:32 +0530
committervkcku <[email protected]>2026-06-01 09:43:32 +0530
commit4fbcc1a04d62b5b569c7f26f8f80dec27326cf2a (patch)
tree70baa3ec054ce9c2d0919ec039aa22d59e2ab7d4 /infra/nix/devshell.nix
parentroot: configure markdown formatter (diff)
infra: initial commit
monorepo-revid: ed8c310e6049eb2c7bba4ee82872707984c2c5bb
Diffstat (limited to 'infra/nix/devshell.nix')
-rw-r--r--infra/nix/devshell.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/infra/nix/devshell.nix b/infra/nix/devshell.nix
new file mode 100644
index 0000000..676f663
--- /dev/null
+++ b/infra/nix/devshell.nix
@@ -0,0 +1,15 @@
+{ inputs, self, ... }:
+{
+ perSystem =
+ { pkgs, system, ... }:
+ {
+ devShells.infra =
+ let
+ treefmt = pkgs.callPackage ./_treefmt.nix { treefmt-nix = inputs.treefmt-nix; };
+ in
+ pkgs.mkShellNoCC {
+ inputsFrom = [ self.devShells."${system}".common ];
+ packages = [ treefmt ];
+ };
+ };
+}