anchor.diff:        nativeBuildInputs = [ autoreconfHook nukeReferences ]
           ++ optionals buildKernel (kernel.moduleBuildDependencies ++ [ perl ]);
         buildInputs = optionals buildUser [ zlib libuuid attr ]
  -        ++ optionals (buildUser) [ openssl python3 ]
  +        ++ optional buildUser openssl
  +        ++ optional (buildUser && enablePython) python3
           ++ optional stdenv.hostPlatform.isMusl libtirpc;
   
         # for zdb to get the rpath to libgcc_s, needed for pthread_cancel to work
  
positive.code: 
  # Kernel dependencies
  , kernel ? null
  }:
  
  with stdenv.lib;
  
negative.code: 
        configureFlags = [
          "--with-config=${configFile}"
          (withFeatureAs (buildUser && enablePython) "python" python3.interpreter)
        ] ++ optionals buildUser [
          "--with-dracutdir=$(out)/lib/dracut"
          "--with-udevdir=$(out)/lib/udev"
  