nixos-config/shell.nix

11 lines
187 B
Nix
Raw Normal View History

2020-08-22 17:44:39 +02:00
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
nixpkgs-fmt
];
buildPhase = ''
ln -f -s ../../pre-commit-hook .git/hooks/pre-commit
'';
}