nixos-config/shell.nix

11 lines
186 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
nixpkgs-fmt
];
shellHook = ''
${(import ./default.nix).pre-commit-check.shellHook}
'';
}