anchor.diff:      runHook postInstall
     '';
   
  -  meta = {
  -    description = "A lightweight Kubernetes distribution";
  -    license = licenses.asl20;
  -    homepage = "https://k3s.io";
  -    maintainers = [ maintainers.euank ];
  -    platforms = platforms.linux;
  -  };
  +  doInstallCheck = true;
  +  installCheckPhase = ''
  +    $out/bin/k3s --version | grep v${k3sVersion} > /dev/null
  +  '';
  +
  +  meta = baseMeta;
   }
  
positive.code:       sha256 = "sha256-uAy17eRRAXPCcnh481KxFMvFQecnnBs24jn5YnVNfY4=";
      };
  
      meta = {
        description = "CNI plugins, as patched by rancher for k3s";
        license = licenses.asl20;
        homepage = "https://k3s.io";
        maintainers = [ maintainers.euank ];
        platforms = platforms.linux;
      };
    };
    # Grab this separately from a build because it's used by both stages of the
  
negative.code:   k3sRepo = fetchgit {
      url = "https://github.com/k3s-io/k3s";
      rev = "v${k3sVersion}";
      sha256 = "sha256-K4HVXFp5cpByEO4dUwmpzOuhsGh1k7X6k5aShCorTjg=";
    };
    # Stage 1 of the k3s build:
    # Let's talk about how k3s is structured.
  