anchor.diff: -{ lib, fetchFromGitHub, buildGoModule, go, removeReferencesTo, buildEnv }:
  +{ lib, fetchFromGitHub, buildGoModule, buildEnv }:
   
   let
     package = buildGoModule rec {
  
positive.code: 
      vendorSha256 = "sha256-g3INNvAQ124kBJSe5cnsIq1y8sWpPYKLwJONgbIUaoM=";
  
      subPackages = [ "." ];
  
      nativeBuildInputs = [ removeReferencesTo ];
  
      # buildGoModule overrides normal buildPhase, can't use makeTargets
      postBuild = ''
        make build plugins
      '';
  
      # tries to pull tests from network, and fails silently anyway
      doCheck = false;
  
      postInstall = ''
        mkdir -p $bin/bin
        mv $out/bin/nomad-autoscaler $bin/bin/nomad-autoscaler
        ln -s $bin/bin/nomad-autoscaler $out/bin/nomad-autoscaler
  
        for d in $outputs; do
  
negative.code: 
        # have out contain all of the plugins
        for plugin in bin/plugins/*; do
          cp "$plugin" $out/share/
        done
  
  