anchor.diff:      sha256 = "13i4zwx6gaibc4j79wd0hgxysw8ibxz9c018zxhydnxlyadzcnri";
     };
   
  -  buildInputs = [ libtool ncurses makeWrapper ];
  +  nativeBuildInputs = [ libtool makeWrapper ];
  +
  +  buildInputs = [ ncurses ];
  +
     propagatedBuildInputs = [ pythonPackages.pygments ];
   
  -  configurePhase =
  -    '' ./configure --prefix="$out" --disable-static ''
  -    + ''--with-posix-sort=$(type -p sort) ''
  -    + ''--with-ltdl-include=${libtool}/include --with-ltdl-lib=${libtool}/lib ''
  -    + ''--with-ncurses=${ncurses} ''
  -    + ''--with-sqlite3=${sqlite} ''
  -    + ''--with-exuberant-ctags=${ctags}/bin/ctags'';
  +  configureFlags = [
  +    "--with-ltdl-include=${libtool}/include"
  +    "--with-ltdl-lib=${libtool}/lib"
  +    "--with-ncurses=${ncurses}"
  +    "--with-sqlite3=${sqlite}"
  +    "--with-exuberant-ctags=${ctags}/bin/ctags"
  +    "--with-posix-sort=${coreutils}/bin/sort"
  +  ];
   
     doCheck = true;
   
  
positive.code:       independence of any editor.  It runs on a UNIX (POSIX) compatible
        operating system like GNU and BSD.
      '';
  
      license = licenses.gpl3Plus;
  
      homepage = http://www.gnu.org/software/global/;
  
      maintainers = with maintainers; [ pSub ];
      platforms = platforms.unix;
    };
  
negative.code: 
    meta = with stdenv.lib; {
      description = "Source code tag system";
      longDescription = ''
        GNU GLOBAL is a source code tagging system that works the same way
        across diverse environments (Emacs, vi, less, Bash, web browser, etc).
  