anchor.diff:      rm util/update_latest_release.go
     '';
   
  -  buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ];
  +  postConfigure = ''
  +    cd $NIX_BUILD_TOP/go/src/$goPackagePath
  +  '';
  +
  +  buildPhase = ''
  +    runHook preBuild
  +    make build-only
  +    runHook postBuild
  +  '';
  +
  +  installPhase = ''
  +    runHook preInstall
  +    install -D grv $bin/bin/grv
  +    runHook postInstall
  +  '';
   
     meta = with stdenv.lib; {
       description = "GRV is a terminal interface for viewing Git repositories";
  
positive.code:   pname = "grv";
    inherit version;
  
    buildInputs = [ ncurses readline curl libgit2 ];
    nativeBuildInputs = [ pkgconfig ];
  
    goPackagePath = "github.com/rgburke/grv";
  
  
negative.code: { stdenv, buildGoPackage, fetchFromGitHub, curl, ncurses, pkgconfig, readline
  , cmake }:
  let
    version = "0.3.2";
  in
  