diff --git a/pkgs/tools/misc/gti/default.nix b/pkgs/tools/misc/gti/default.nix index 83452394f154..e950d58fc76e 100644 --- a/pkgs/tools/misc/gti/default.nix +++ b/pkgs/tools/misc/gti/default.nix @@ -11,6 +11,10 @@ stdenv.mkDerivation rec { sha256 = "1jivnjswlhwjfg5v9nwfg3vfssvqbdxxf9znwmfb5dgfblg9wxw9"; }; + postPatch = '' + substituteInPlace Makefile --replace 'CC=cc' 'CC=${stdenv.cc.targetPrefix}cc' + ''; + installPhase = '' mkdir -p $out/bin $out/share/man/man6 cp gti $out/bin @@ -18,7 +22,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - homepage = "http://r-wos.org/hacks/gti"; + homepage = "https://r-wos.org/hacks/gti"; license = licenses.mit; description = "Humorous typo-based git runner; drives a car over the terminal"; maintainers = with maintainers; [ fadenb ];