nix-config/flake/dev-shells.nix
Bruno BELANYI b65380e325
All checks were successful
ci/woodpecker/push/check Pipeline was successful
flake: dev-shells: remove redundant 'pre-commit'
It's already being installed by the shell hook.
2025-03-28 15:27:25 +00:00

18 lines
318 B
Nix

{ ... }:
{
perSystem = { config, pkgs, ... }: {
devShells = {
default = pkgs.mkShellNoCC {
name = "NixOS-config";
nativeBuildInputs = with pkgs; [
nixpkgs-fmt
];
shellHook = ''
${config.pre-commit.installationScript}
'';
};
};
};
}