anchor.diff:  { stdenv, fetchurl, which, zlib, pkgconfig, SDL, openssl, python
   , libuuid, gettext, ncurses, dev86, iasl, pciutils, bzip2, xz
  -, lvm2, utillinux, procps, texinfo }:
  +, lvm2, utillinux, procps, texinfo, perl }:
   
   with stdenv.lib;
   
   let
   
     version = "4.0.1";
  +
  +  libDir = if stdenv.is64bit then "lib64" else "lib";
   
     # Sources needed to build the stubdoms.
   
  
positive.code:       substituteInPlace tools/python/xen/xend/XendQCoWStorageRepo.py \
          --replace /usr/sbin/qcow-create $out/sbin/qcow-create
  
        # Xen's stubdoms need various sources that it usually fetches at
        # build time using wget.  We can't have that.
        ${flip concatMapStrings stubdomSrcs (x: let src = fetchurl x; in ''
  
negative.code: 
    buildInputs =
      [ which zlib pkgconfig SDL openssl python libuuid gettext ncurses
        dev86 iasl pciutils bzip2 xz texinfo perl
      ];
  
    makeFlags = "PREFIX=$(out) CONFIG_DIR=/etc";
  