nix-config/flake/dev-shells.nix
Bruno BELANYI 1841ff391d
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-04-02 20:42:40 +01: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}
'';
};
};
};
}