anchor.diff:      find $out/share/doc/support-files -name 'Makefile*' -delete
     '';
   
  -  meta = {
  +  meta = with stdenv.lib; {
       description = "Free interpreter for the APL programming language";
       homepage    = http://www.gnu.org/software/apl/;
       license     = licenses.gpl3Plus;
  
positive.code: { stdenv, fetchurl, readline, gettext, ncurses }:
  
  with stdenv.lib;
  stdenv.mkDerivation rec {
    name = "gnu-apl-${version}";
    version = "1.7";
  
negative.code:   buildInputs = [ readline gettext ncurses ];
  
    # Needed with GCC 7
    NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=int-in-bool-context"
      + stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=null-dereference";
  
    patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
      substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h"
    '';
  
  