anchor.diff:        ncurses
         which
         perl
  -    ] ++ lib.optional withPython python3;
  +    ] ++ lib.optional withPython python;
   
       buildInputs = lib.optional withPerl perl
  -      ++ lib.optional withPython python3;
  +      ++ lib.optional withPython python;
   
       # required to build apparmor-parser
       dontDisableStatic = true;
   
       prePatch = prePatchCommon + ''
         substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.am --replace install_vendor install_site
  -      substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.in --replace install_vendor install_site
  -      substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${lib.getDev stdenv.cc.libc}/include/netinet/in.h"
  -      substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${lib.getDev stdenv.cc.libc}/include/netinet/in.h"
       '';
       inherit patches;
   
  
positive.code:       sha256 = "0yyaqz8jlmn1bm37arggprqz0njb4lhjni2d9c8qfqj0kll0bam0";
      })
    ];
  
    # Set to `true` after the next FIXME gets fixed or this gets some
    # common derivation infra. Too much copy-paste to fix one by one.
  
negative.code:     platforms = platforms.linux;
    };
  
    apparmor-sources = fetchFromGitLab {
      owner = "apparmor";
      repo = "apparmor";
      rev = "v${apparmor-version}";
      sha256 = "1a217j28rgfq4lsmpn0wv1xgmdr9ba8iysv9i6q477kj6z77zrb9";
    };
  
    aa-teardown = writeShellScript "aa-teardown" ''
  