git-quick-stats: use more idiomatic code

In particular, overriding *whole* phases isn't generally a good idea,
as you may lose various default hooks.
This commit is contained in:
Vladimír Čunát 2019-06-09 11:27:52 +02:00
parent 59dce9c72f
commit fa9e51d8b6
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -8,9 +8,7 @@ stdenv.mkDerivation rec {
rev = "${version}";
sha256 = "1px1sk7b6mjnbclsr1jn33m9k4wd8wqyw4d6w1rgj0ii29lhzmqi";
};
installPhase = ''
PREFIX=$out make install
'';
PREFIX = builtins.placeholder "out";
meta = with stdenv.lib; {
homepage = "https://github.com/arzzen/git-quick-stats";
description = "A simple and efficient way to access various statistics in git repository";