11 lines
187 B
Nix
11 lines
187 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
nixpkgs-fmt
|
|
];
|
|
buildPhase = ''
|
|
ln -f -s ../../pre-commit-hook .git/hooks/pre-commit
|
|
'';
|
|
}
|