anchor.diff:        # provide shortRev and version ends in ".dev".
         version = "${acVersion}.dev"
           + lib.optionalString (self ? shortRev) "+g${self.shortRev}";
  +
  +      compilerName = stdenv:
  +        lib.replaceStrings [ "-wrapper" ] [ "" ] stdenv.cc.pname;
   
         # Can inspect the cuda version to guess at what architectures would be
         # most useful. Take care not to instatiate the cuda package though, which
  
positive.code:               clang10Stdenv
              ]);
            cxxName = stdenv:
              lib.optionalString (stdenv != pkgs.stdenv) ("-"
                + lib.replaceStrings [ "-wrapper" ] [ "" ] stdenv.cc.pname
                + lib.versions.major stdenv.cc.version);
  
            eachBool = f: lib.concatMap f [ true false ];
            eachCuda = f: lib.concatMap f ([ null ] ++ lib.attrNames cudaAttrs);
  
negative.code:         , enablePython ? true, python3, enableCuda ? false, cudatoolkit
          , util-linuxMinimal, gpuArchs ? defaultGpuArchs cudatoolkit }:
          stdenv.mkDerivation {
            name = lib.optionalString (!enablePython) "lib" + "bifrost-"
              + compilerName stdenv + lib.versions.majorMinor stdenv.cc.version
              + lib.optionalString enablePython
              "-py${lib.versions.majorMinor python3.version}"
              + lib.optionalString enableCuda
  