anchor.diff:  
       # Convert a "stdenv.hostPlatform.system" to a dotnet RID
       systemToDotnetRid = system: runtimeIdentifierMap.${system} or (throw "unsupported platform ${system}");
  +
  +    tests = {
  +      version = testers.testVersion {
  +        package = finalAttrs.finalPackage;
  +      };
  +
  +      smoke-test = runCommand "dotnet-sdk-smoke-test" {
  +        nativeBuildInputs = [ finalAttrs.finalPackage ];
  +      } ''
  +        HOME=$(pwd)/fake-home
  +        dotnet new console
  +        dotnet build
  +        output="$(dotnet run)"
  +        # yes, older SDKs omit the comma
  +        [[ "$output" =~ Hello,?\ World! ]] && touch "$out"
  +      '';
  +    };
     };
   
     meta = with lib; {
  
positive.code: , libkrb5
  , curl
  , lttng-ust_2_12
  }:
  
  let
  
negative.code:     mainProgram = "dotnet";
      platforms = builtins.attrNames srcs;
    };
  })
  