anchor.diff:    dontPatchELF = true;
   
     buildPhase = ''
  +    mkdir -p "$out/include"
  +    cp -r vcglib "$out/include"
  +    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$out/include/vcglib"
       export NIX_LDFLAGS="-rpath $out/opt/meshlab $NIX_LDFLAGS"
       cd meshlab/src
       pushd external
       qmake -recursive external.pro
       make
       popd
  -    qmake -recursive meshlabv12.pro
  +    qmake -recursive meshlab_full.pro
       make
     '';
   
  
positive.code: {stdenv, fetchurl, qt, bzip2, lib3ds, levmar, muparser, unzip}:
  
  stdenv.mkDerivation rec {
    name = "meshlab-1.2.3a";
  
    src = fetchurl {
      url = mirror://sourceforge/meshlab/MeshLabSrc_AllInc_v123a.tgz;
      sha256 = "09w42q0x1yjr7l9ng952lic7vkb1arsvqg1fld5s297zwzfmsl9v";
    };
  
    # I don't know why I need this; without this, the rpath set at the beginning of the
  
negative.code:     ln -s $out/opt/meshlab/meshlab $out/bin/meshlab
    '';
  
    sourceRoot = ".";
  
    buildInputs = [ qt unzip ];
  
    meta = {
  