anchor.diff:    configureFlags = [
       "--with-tcl=${tcl}/lib"
       "--with-tclinclude=${tcl}/include"
  -    "--exec-prefix=$out"
  +    "--exec-prefix=$(out)"
     ];
   
  -  postInstall = let libSuff = if stdenv.isDarwin then "dylib" else "so";
  -    in "cp expect $out/bin; mkdir -p $out/lib; cp *.${libSuff} $out/lib";
  +  postInstall = ''
  +    for i in $out/bin/*; do
  +      wrapProgram $i \
  +        --prefix PATH : "${tcl}/bin" \
  +        --prefix TCLLIBPATH ' ' $out/lib/*
  +    done
  +  '';
   
     meta = {
       description = "A tool for automating interactive applications";
  
positive.code:   };
  
    buildInputs = [ tcl ];
  
    #NIX_CFLAGS_COMPILE = "-DHAVE_UNISTD_H";
  
  
negative.code: { stdenv, fetchurl, tcl, makeWrapper }:
  
  let version = "5.45";
  in
  