anchor.diff:    nativeBuildInputs = [ which ];
   
     buildInputs = [ pcre2.dev ]
  -    ++ optional withPython2 python2
       ++ optionals withPython3 [ python3 ncurses ]
       ++ optional withPHP74 php74-unit
       ++ optional withPHP80 php80-unit
  
positive.code: { lib, stdenv, fetchFromGitHub, nixosTests, which
  , pcre2
  , withPython2 ? false, python2
  , withPython3 ? true, python3, ncurses
  , withPHP74 ? false, php74
  , withPHP80 ? true, php80
  
negative.code:   usedPhp80 = optionals withPHP80 php80-unit;
  
    postConfigure = ''
      ${optionalString withPython3    "./configure python --module=python3  --config=python3-config  --lib-path=${python3}/lib"}
      ${optionalString withPHP74      "./configure php    --module=php74    --config=${php74-unit.unwrapped.dev}/bin/php-config --lib-path=${php74-unit}/lib"}
      ${optionalString withPHP80      "./configure php    --module=php80    --config=${php80-unit.unwrapped.dev}/bin/php-config --lib-path=${php80-unit}/lib"}
  