anchor.diff:      description = "ANSI Common Lisp Implementation";
       homepage = http://clisp.cons.org;
       maintainers = with stdenv.lib.maintainers; [raskin tohl];
  -    platforms = stdenv.lib.platforms.linux;
  +    platforms = stdenv.lib.platforms.unix;
     };
   }
  
positive.code: # - full: contains base plus modules in withModules
  { stdenv, fetchurl, libsigsegv, gettext, ncurses, readline, libX11
  , libXau, libXt, pcre, zlib, libXpm, xproto, libXext, xextproto
  , libffi, libffcall, coreutils
  # build options
  , threadSupport ? (stdenv.isi686 || stdenv.isx86_64)
  , x11Support ? (stdenv.isi686 || stdenv.isx86_64)
  , dllSupport ? true
  , withModules ? [
      "bindings/glibc"
      "pcre"
      "rawsock"
      "wildcard"
      "zlib"
    ]
    ++ stdenv.lib.optional x11Support "clx/new-clx"
  }:
  
  
negative.code:   configureFlags = "builddir"
    + stdenv.lib.optionalString (!dllSupport) " --without-dynamic-modules"
    + stdenv.lib.optionalString (readline != null) " --with-readline"
    # --with-dynamic-ffi can only exist with --with-ffcall - foreign.d does not compile otherwise
    + stdenv.lib.optionalString (ffcallAvailable && (libffi != null)) " --with-dynamic-ffi"
    + stdenv.lib.optionalString ffcallAvailable " --with-ffcall"
    + stdenv.lib.optionalString (!ffcallAvailable) " --without-ffcall"
    + stdenv.lib.concatMapStrings (x: " --with-module=" + x) withModules
    + stdenv.lib.optionalString threadSupport " --with-threads=POSIX_THREADS";
  
  