15 lines
323 B
Nix
15 lines
323 B
Nix
|
{
|
||
|
self,
|
||
|
flake-utils,
|
||
|
nixpkgs,
|
||
|
...
|
||
|
}:
|
||
|
flake-utils.lib.eachDefaultSystem (system: let
|
||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||
|
in {
|
||
|
devShells.default = pkgs.mkShell {
|
||
|
inherit (self.checks.${system}.pre-commit-check) shellHook;
|
||
|
buildInputs = self.checks.${system}.pre-commit-check.enabledPackages;
|
||
|
};
|
||
|
})
|