anchor.diff:        cp "$1" "$2/$(basename "$1" | sed -e 's/^[a-z0-9]*-//')"
       }
   
  -    for i in "${grisu_src}" "${dsfmt_src}" "${arpack_src}" "${clp_src}" ; do
  +    for i in "${grisu_src}" "${dsfmt_src}" "${arpack_src}" "${clp_src}" "${patchelf_src}" ; do
         copy_kill_hash "$i" deps
       done
       copy_kill_hash "${dsfmt_src}" deps/random
   
       ${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
   
  
positive.code:   arpack_ver = "3.1.2";
    clp_ver = "1.14.5";
    lighttpd_ver = "1.4.29";
  
    grisu_src = fetchurl {
      url = "http://double-conversion.googlecode.com/files/double-conversion-${grisu_ver}.tar.gz";
  
negative.code:     url = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${lighttpd_ver}.tar.gz";
      sha256 = "ff9f4de3901d03bb285634c5b149191223d17f1c269a16c863bac44238119c85";
    };
    patchelf_src = fetchurl {
      url = "http://hydra.nixos.org/build/1524660/download/2/patchelf-${patchelf_ver}.tar.bz2";
      sha256 = "00bw29vdsscsili65wcb5ay0gvg1w0ljd00sb5xc6br8bylpyzpw";
    };
  
    src = fetchgit {
      url = "git://github.com/JuliaLang/julia.git";
      rev = "53598b026b6fd9f79eba02cbc4e2d6c38ca32bd7";
      sha256 = "159yasgfbbj6px16kgwf7bg478giv8zbm5hg90ipncp1ls2lv3jy";
    };
  
    buildInputs = [ gfortran perl m4 gmp pcre llvm readline zlib
  