anchor.diff:    nativeBuildInputs = [ file pkgconfig gnupg autoreconfHook git texinfo ]
     ++ lib.optionals pythonSupport [ python swig2 which ncurses ];
   
  +  depsBuildBuild = [ buildPackages.stdenv.cc ];
  +
     patches = [
       (fetchpatch {
         name = "fix-key-expiry.patch";
  
positive.code:   configureFlags = [
      "--enable-fixed-path=${gnupg}/bin"
      "--with-libgpg-error-prefix=${libgpgerror.dev}"
    ] ++ lib.optional pythonSupport "--enable-languages=python";
  
    NIX_CFLAGS_COMPILE =
  
negative.code: , autoreconfHook, fetchpatch
  , git
  , texinfo
  , buildPackages
  , qtbase ? null
  , pythonSupport ? false, swig2 ? null, python ? null
  }:
  