anchor.diff: -{ lib, stdenv, fetchurl, unzip, autoreconfHook, libtool, makeWrapper, cups
  -, ghostscript, pkgsi686Linux, zlib }:
  +{ lib
  +, stdenv
  +, fetchurl
  +, unzip
  +, autoconf
  +, automake
  +, libtool
  +, makeWrapper
  +, cups
  +, ghostscript
  +, pkgsi686Linux
  +, zlib
  +}:
   
   let
   
  -  i686_NIX_GCC = pkgsi686Linux.callPackage ({gcc}: gcc) {};
  -  i686_libxml2 = pkgsi686Linux.callPackage ({libxml2}: libxml2) {};
  +  i686_NIX_GCC = pkgsi686Linux.callPackage ({ gcc }: gcc) { };
  +  i686_libxml2 = pkgsi686Linux.callPackage ({ libxml2 }: libxml2) { };
   
     commonVer = "4.10";
     version = "3.70";
     dl = "8/0100007658/08";
   
  -  versionNoDots = builtins.replaceStrings ["."] [""] version;
  +  versionNoDots = builtins.replaceStrings [ "." ] [ "" ] version;
     src_canon = fetchurl {
       url = "http://gdlp01.c-wss.com/gds/${dl}/linux-UFRII-drv-v${versionNoDots}-uken-05.tar.gz";
       sha256 = "0424lvyrsvsb94qga4p4ldis7f714c5yw5ydv3f84mdl2a7papg0";
  
positive.code:     makeWrapper "${ghostscript}/bin/gs" "$out/bin/gs" \
        --prefix LD_LIBRARY_PATH ":" "$out/lib" \
        --prefix PATH ":" "$out/bin"
      '';
  
    meta = with lib; {
      description = "CUPS Linux drivers for Canon printers";
  
negative.code:   inherit version;
    src = src_canon;
  
    postUnpack = ''
      (cd $sourceRoot; tar -xzf Sources/cndrvcups-common-${commonVer}-1.tar.gz)
      (cd $sourceRoot; tar -xzf Sources/cndrvcups-lb-${version}-1.tar.gz)
    '';
  
    nativeBuildInputs = [ makeWrapper unzip autoconf automake libtool ];
  
    buildInputs = [ cups zlib ];
  
    installPhase = ''
      runHook preInstall
  
      ##
      ## cndrvcups-common buildPhase
      ##
  