This commit is contained in:
Charlotte 🦝 Delenk 2022-03-06 08:58:24 +01:00
parent 2e3d714bec
commit abb7370936
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -9,7 +9,7 @@ let gitTemplate = pkgs.stdenv.mkDerivation {
mit-prepare-commit-msg
];
buildPhase = "true";
installPhase = ''
installPhase = with pkgs; with rust-binaries; ''
git init $out
ln -s $out/.git/hooks/commit-msg ${mit-commit-msg}/bin/mit-commit-msg
ln -s $out/.git/hooks/pre-commit ${mit-pre-commit}/bin/mit-pre-commit