anchor.diff:      installPhase = "mv build $out";
       distPhase = "true";
     };
  -in buildGoModule rec {
  +in
  +buildGoModule rec {
     pname = "prometheus";
     inherit src version;
   
  
positive.code:   '';
  
    buildFlags = "-tags=builtinassets";
    buildFlagsArray = let
      t = "${goPackagePath}/vendor/github.com/prometheus/common/version";
    in [
      ''
        -ldflags=
           -X ${t}.Version=${version}
           -X ${t}.Revision=unknown
           -X ${t}.Branch=unknown
           -X ${t}.BuildUser=nix@nixpkgs
           -X ${t}.BuildDate=unknown
           -X ${t}.GoVersion=${lib.getVersion go}
      ''
    ];
  
    # only run this in the real build, not during the vendor build
    # this should probably be fixed in buildGoModule
  
negative.code: { stdenv
  , lib
  , go
  , buildGoModule
  , fetchFromGitHub
  , mkYarnPackage
  , nixosTests
  , fetchpatch
  }:
  
  