anchor.diff: -{ stdenv, fetchsvn, fetchpatch, gcc, glibc, m4, coreutils }:
  +{ stdenv, fetchurl, gcc, glibc, m4, coreutils }:
   
   let
     options = rec {
       /* TODO: there are also MacOS, FreeBSD and Windows versions */
       x86_64-linux = {
         arch = "linuxx86";
  -      sha256 = "0g6mkl207ri3ib9w85i9w0sv7srz784pbxidz0d95p6qkvg6shba";
  +      sha256 = "0hs1f3z7crgzvinpj990kv9gvbsipxvcvwbmk54n51nasvc5025q";
         runtime = "lx86cl64";
         kernel = "linuxx8664";
       };
  
positive.code: 
  stdenv.mkDerivation rec {
    name     = "ccl-${version}";
    version  = "1.11";
    revision = "16313";
  
    src = fetchsvn {
      url = "http://svn.clozure.com/publicsvn/openmcl/release/${version}/${cfg.arch}/ccl";
      rev = revision;
      sha256 = cfg.sha256;
    };
  
    patches = fetchpatch {
      name = "ccl-1.11-glibc-2.26.patch";
      url = https://patch-diff.githubusercontent.com/raw/Clozure/ccl/pull/80.patch;
      sha256 = "02v6287w0nppfpvkn9dyd5rvq2zkgd47ia9gs17hrww2hgzr6agd";
    };
  
    buildInputs = [ gcc glibc m4 ];
  
negative.code: 
    postPatch = ''
      substituteInPlace lisp-kernel/${CCL_KERNEL}/Makefile \
        --replace "/bin/rm"    "${coreutils}/bin/rm" \
        --replace "/bin/echo"  "${coreutils}/bin/echo"
  
  