anchor.diff:      })
     ];
   
  -  prePatch = ''
  +  postPatch = ''
       sed -i 's,#include <sys/poll.h>,#include <poll.h>\n#include <limits.h>,' audisp/audispd.c
  +    substituteInPlace bindings/swig/src/auditswig.i \
  +      --replace "/usr/include/linux/audit.h" \
  +                "${linuxHeaders}/include/linux/audit.h"
     ''
     # According to https://stackoverflow.com/questions/13089166
     # --whole-archive linker flag is required to be sure that linker
  
positive.code:   runCommand,
    autoreconfHook,
    autoconf, automake, libtool,
    enablePython ? false, python ? null,
  }:
  
  assert enablePython -> python != null;
  
  stdenv.mkDerivation rec {
    pname = "audit";
  
negative.code: 
    depsBuildBuild = [ buildPackages.stdenv.cc ];
    nativeBuildInputs = [ autoreconfHook ];
    buildInputs = lib.optionals enablePython [ python swig ];
  
    configureFlags = [
      # z/OS plugin is not useful on Linux,
  