anchor.diff:      ${if realGcc ==null then "" else 
       ''export NIX_LDFLAGS="$NIX_LDFLAGS -L${realGcc}/lib -L${realGcc}/lib64 -lpcre -llapack -lm -lfftw3f -lfftw3 -lglpk -lunistring -lz "''}
       export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fPIC "
  -
  -    sed -e 's@ cpp @ gcc -E @g' -i base/Makefile
   
       export LDFLAGS="-L${suitesparse}/lib -L$out/lib/julia -Wl,-rpath,$out/lib/julia"
   
  
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";
  