anchor.diff:        (cmFlag "MAIN12" false)
       ] ++ cmakeFlagsAll;
   
  -    preConfigure =
  -    /* x265 source directory is `source`, not `src` */ ''
  +    preConfigure = /* x265 source directory is `source`, not `src` */ ''
         cd source
       '';
   
  
positive.code:     numactl
    ];
  
    postUnpack =
    /* x265 source directory is `source`, not `src` */ ''
      sourceRoot="$sourceRoot/source"
    '';
  
    postPatch =
    /* Work around to set version in the compiled binary */ ''
      sed -i cmake/version.cmake \
        -e 's/unknown/${version}/g'
    '';
  
negative.code:     ];
  
      postInstall =
        /* Remove unused files to prevent conflicts with
           pkg-config/libtool hooks */ ''
          rm -frv $out/includes
          rm -frv $out/lib/pkgconfig
        '' +
        /* Rename the library to a unique name */ ''
          mv -v $out/lib/libx265.a $out/lib/libx265_main10.a
        '';
    };
    libx265-12 = stdenv.mkDerivation {
      name = "libx265-12-${version}";
  