anchor.diff:  
       buildInputs = [ which ];
   
  -    buildPhase = ''
  -      cd ./profiles
  -      make
  -    '';
  -
  -    installPhase = ''
  -      make install DESTDIR="$out" EXTRAS_DEST="$out/share/apparmor/extra-profiles"
  -    '';
  +    postPatch = "cd ./profiles";
  +    installFlags = ''DESTDIR=$(out) EXTRAS_DEST=$(out)/share/apparmor/extra-profiles'';
   
       meta = apparmor-meta "profiles";
     };
  
positive.code:       ## techdoc.pdf still doesn't build ...
        substituteInPlace ./parser/Makefile --replace "manpages htmlmanpages pdf" "manpages htmlmanpages"
      '';
  
      buildPhase = ''
        cd ./parser
        make LANGS="" USE_SYSTEM=1 INCLUDEDIR=${libapparmor}/include
      '';
  
      installPhase = ''
        make install LANGS="" USE_SYSTEM=1 INCLUDEDIR=${libapparmor}/include DESTDIR="$out" DISTRO="unknown"
      '';
  
      meta = apparmor-meta "rule parser";
    };
  
negative.code:     buildInputs = [
        autoconf
        automake
        autoreconfHook
        bison
        flex
        glibc
  