From 269fbbcb4ce518b739fc1dd062a960cafe76b16d Mon Sep 17 00:00:00 2001 From: buffet Date: Sun, 9 Jun 2024 17:03:48 +0200 Subject: [PATCH] Revert "build: remove devShell" This reverts commit ee3f7678159f308283f9eccdbe1ed0a11cd75f60. Turns out pre-commit-hooks needs this. --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 0b5d3d6..b2a704c 100644 --- a/flake.nix +++ b/flake.nix @@ -115,5 +115,10 @@ }; }; }; + + devShell = nixpkgs.legacyPackages.${system}.mkShell { + inherit (self.checks.${system}.pre-commit-check) shellHook; + buildInputs = self.checks.${system}.pre-commit-check.enabledPackages; + }; }); }