anchor.diff:    optionals = ["python"];
   
     extraAttrs = co : {
  -    name = "vim_configurable-7.1.0";
  +    name = "vim_configurable-7.1";
   
  +  src = args.fetchurl {
  +    url = ftp://ftp.nluug.nl/pub/editors/vim/unix/vim-7.1.tar.bz2;
  +    sha256 = "0w6gy49gdbw7hby5rjkjpa7cdvc0z5iajsm4j1h8108rvfam22kz";
  +  };
   
  -    #configurePhase = "
  -      #set | grep python | grep flag
  -      #fail
  -    #";
  -    src = args.fetchurl {
  -      url = ftp://ftp.nluug.nl/pub/editors/vim/unix/vim-7.1.tar.bz2;
  -      sha256 = "0w6gy49gdbw7hby5rjkjpa7cdvc0z5iajsm4j1h8108rvfam22kz";
  -    };
  +  postInstall = "
  +    rpath=`patchelf --print-rpath \$out/bin/vim`;
  +    for i in $\buildInputs; do
  +      echo adding \$i/lib
  +      rpath=\$rpath:\$i/lib
  +    done
  +    echo \$buildInputs
  +    echo \$rpath
  +    patchelf --set-rpath \$rpath \$out/bin/{vim,gvim}
  +  ";
   
  -    meta = {
  -      description = "The most popular clone of the VI editor";
  -      homepage = "www.vim.org";
  -    };
  +  meta = {
  +    description = "The most popular clone of the VI editor";
  +    homepage = "www.vim.org";
  +  };
   };
   } ) args
  
positive.code: args:
  let edf = args.lib.enableDisableFeature; in
  ( args.mkDerivationByConfiguration {
  
negative.code:       mandatory = { cfgOption = "--enable-gui=auto --with-features=${args.features}"; 
                      buildInputs = ["ncurses" "pkgconfig"];
                    };
        X11 = { buildInputs = [ "libX11" "libXext" "libSM" "libXpm" "libXt" "libXaw" "libXau" "libXmu" ]; };
  
      } // edf "darwin" "darwin" { } #Disable Darwin (Mac OS X) support.
        // edf "xsmp" "xsmp" { } #Disable XSMP session management
  