anchor.diff:  , openssl
   , perl
   , pkg-config
  +, zlib
  +
  +# Compression tools in scripts/libmakepkg/util/compress.sh.in
  +, gzip
  +, bzip2
   , xz
  -, zlib
  +, zstd
  +, lrzip
  +, lzop
  +, ncompress
  +, lz4
  +, lzip
   
   # Tells pacman where to find ALPM hooks provided by packages.
   # This path is very likely to be used in an Arch-like root.
  
positive.code:   ];
  
    buildInputs = [
      bzip2
      curl
      gpgme
      libarchive
      openssl
      perl
      xz
      zlib
    ];
  
  
negative.code:     })
    ];
  
    postPatch = let compressionTools = [
      gzip
      bzip2
      xz
      zstd
      lrzip
      lzop
      ncompress
      lz4
      lzip
    ]; in ''
      echo 'export PATH=${lib.makeBinPath compressionTools}:$PATH' >> scripts/libmakepkg/util/compress.sh.in
      substituteInPlace meson.build \
        --replace "install_dir : SYSCONFDIR" "install_dir : '$out/etc'" \
        --replace "join_paths(DATAROOTDIR, 'libalpm/hooks/')" "'${sysHookDir}'" \
  