anchor.diff:  
         rpath = "${stdenv.lib.makeLibraryPath runtimeDependencies}:${stdenv.cc.cc.lib}/lib64";
   
  -      phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
  -
         unpackPhase = ''
           sh $src --keep --noexec
   
  
positive.code:         rm -rf $out/lib
  
          # Remove some cruft.
          rm $out/bin/uninstall*
  
          # Fixup path to samples (needed for cuda 6.5 or else nsight will not find them)
          if [ -d "$out"/cuda-samples ]; then
  
negative.code:         done < <(find $out $lib $doc -type f -print0)
        '';
  
        doInstallCheck = true;
        postInstallCheck = let
        in ''
          # Smoke test binaries
          pushd $out/bin
          for f in *; do
            case $f in
              crt)                           continue;;
              nvcc.profile)                  continue;;
              nsight_ee_plugins_manage.sh)   continue;;
              uninstall_cuda_toolkit_6.5.pl) continue;;
              computeprof|nvvp|nsight)       continue;; # TODO: Broken
              *)                             echo "Executing '$f --version':"; ./$f --version;;
            esac
          done
          popd
        '';
        passthru = {
          cc = gcc;
          majorVersion =
  