nixos-config/shell.nix
2020-08-22 17:44:39 +02:00

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
'';
}