anchor.diff:    '';
   
     preBuild = ''
  -    make -C test/unicode all SHELL="${stdenv.shell}"
  -    make -C extras glpk_h.jl GLPK_PREFIX="$GLPK_PREFIX" SHELL="${stdenv.shell}"
  -
       mkdir -p usr/lib
       ln -s libuv.a usr/lib/uv.a
     '';
   
     postInstall = ''
  -   ld -E --whole-archive --shared ${suitesparse}/lib/lib*[a-z].a -o "$out"/lib/libsuitesparse-shared.so
  -   for i in umfpack cholmod amd camd colamd btf cxsparse ldl rbio spqr suitesparseconfig; do
  -     ln -s "libsuitesparse-shared.so" "$out/lib/lib$i.so"
  -   done
  -   ln -s "${lighttpd}/sbin/lighttpd" "$out/sbin/"
  -   ln -s "${lighttpd}/lib/"* "$out/lib/"
  +   make -C deps install-tk-wrapper
  +
  +   (
  +   cd $out/share/julia/test/ 
  +   $out/bin/julia runtests.jl all
  +   ) || true
     '';
   
     meta = {
  
positive.code: 
    src = fetchgit {
      url = "git://github.com/JuliaLang/julia.git";
      rev = "53598b026b6fd9f79eba02cbc4e2d6c38ca32bd7";
      sha256 = "159yasgfbbj6px16kgwf7bg478giv8zbm5hg90ipncp1ls2lv3jy";
    };
  
    buildInputs = [ gfortran perl m4 gmp pcre llvm readline zlib
      fftw fftwSinglePrec libunwind suitesparse glpk ncurses libunistring patchelf
      openblas liblapack
      ];
  
    configurePhase = ''
      for i in GMP LLVM PCRE LAPACK OPENBLAS BLAS READLINE FFTW LIBUNWIND SUITESPARSE GLPK LIGHTTPD ZLIB; 
      do 
        sed -e "s@USE_SYSTEM_$i=0@USE_SYSTEM_$i=1@" -i Make.inc; 
      done
      sed -e 's@-lcurses@@g' -i Make.inc
  
      copy_kill_hash(){
        cp "$1" "$2/$(basename "$1" | sed -e 's/^[a-z0-9]*-//')"
  
negative.code: { stdenv, fetchgit, gfortran, perl, m4, llvm, gmp, pcre, zlib
   , readline, fftwSinglePrec, fftw, libunwind, suitesparse, glpk, fetchurl
   , ncurses, libunistring, lighttpd, patchelf, openblas, liblapack
   , tcl, tk, xproto, libX11
   } :
  let
    realGcc = stdenv.gcc.gcc;
  in
  stdenv.mkDerivation rec {
    pname = "julia";
    date = "20121209";
    name = "${pname}-git-${date}";
  
    grisu_ver = "1.1.1";
  