anchor.diff:      wrapProgram $out/bin/factor --prefix LD_LIBRARY_PATH : \
         "${stdenv.lib.makeLibraryPath [ glib
           libX11 pango cairo gtk2 gdk_pixbuf gtkglext
  -        mesa libXmu libXt libICE libSM ]}"
  +        mesa_glu libXmu libXt libICE libSM ]}"
   
       sed -ie 's#/bin/.factor-wrapped#/lib/factor/factor#g' $out/bin/factor
       mv $out/bin/.factor-wrapped $out/lib/factor/factor
  
positive.code: { stdenv, fetchurl, fetchFromGitHub, glib, glibc, git,
    rlwrap, curl, pkgconfig, perl, makeWrapper, tzdata, ncurses,
    libX11, pango, cairo, gtk2, gdk_pixbuf, gtkglext,
    mesa, libXmu, libXt, libICE, libSM }:
  
  stdenv.mkDerivation rec {
    name = "factor-lang-${version}";
  
negative.code:   nativeBuildInputs = [ pkgconfig ];
    buildInputs = [ git rlwrap curl perl makeWrapper
      libX11 pango cairo gtk2 gdk_pixbuf gtkglext
      mesa_glu libXmu libXt libICE libSM ];
  
    buildPhase = ''
      make $(bash ./build-support/factor.sh make-target) GIT_LABEL=heads/master-${rev}
  