nix-config/flake/dev-shells.nix
Bruno BELANYI e26672494c
All checks were successful
ci/woodpecker/push/check Pipeline was successful
flake: dev-shells: use 'mkShellNoCC'
We don't need compilers.
2023-05-25 09:31:41 +00:00

20 lines
351 B
Nix

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