anchor.diff:      nlohmann_json
       curl
       libarchive
  -    libyamlcpp'
  +    libyamlcpp
       libsolv'
       reproc
  -    # python3Packages.pybind11 # Would be necessary if someone wants to build with bindings I guess.
  +    spdlog
  +    termcolor
  +    ghc_filesystem
     ];
   
  +  postPatch = ''
  +    # See https://github.com/gabime/spdlog/issues/1897
  +    sed -i '1a add_compile_definitions(SPDLOG_FMT_EXTERNAL)' CMakeLists.txt
  +    echo 'target_link_libraries(micromamba PRIVATE -lspdlog -lfmt)' >> micromamba/CMakeLists.txt
  +  '';
  +
     cmakeFlags = [
  -    "-DBUILD_BINDINGS=OFF" # Fails to build, I don't think it's necessary for now.
  -    "-DBUILD_EXE=ON"
  +    "-DBUILD_LIBMAMBA=ON"
  +    "-DBUILD_SHARED=ON"
  +    "-DBUILD_MICROMAMBA=ON"
  +    # "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
     ];
  -
  -  CXXFLAGS = "-DMAMBA_USE_STD_FS";
   
     meta = with lib; {
       description = "Reimplementation of the conda package manager";
       homepage = "https://github.com/mamba-org/mamba";
       license = licenses.bsd3;
  +    platforms = platforms.linux;
       maintainers = with maintainers; [ mausch ];
     };
   }
  
positive.code: { lib, stdenv, fetchFromGitHub, fetchpatch, cmake
  , cli11, nlohmann_json, curl, libarchive, libyamlcpp, libsolv, reproc
  }:
  
  let
  
negative.code:     patches = [
        # Patch added by the mamba team
        (fetchpatch {
          url = "https://raw.githubusercontent.com/mamba-org/boa-forge/20530f80e2e15012078d058803b6e2c75ed54224/libsolv/add_strict_repo_prio_rule.patch";
          sha256 = "19c47i5cpyy88nxskf7k6q6r43i55w61jvnz7fc2r84hpjkcrv7r";
        })
        # Patch added by the mamba team
        (fetchpatch {
          url = "https://raw.githubusercontent.com/mamba-org/boa-forge/20530f80e2e15012078d058803b6e2c75ed54224/libsolv/conda_variant_priorization.patch";
          sha256 = "1iic0yx7h8s662hi2jqx68w5kpyrab4fr017vxd4wyxb6wyk35dd";
        })
      ];
    });
  in
  stdenv.mkDerivation rec {
    pname = "micromamba";
    version = "0.18.1";
  
    src = fetchFromGitHub {
      owner = "mamba-org";
      repo = "mamba";
      rev = version;
      sha256 = "1gr9r257l300hafp8zm61bn58rysdk9i4wv1879q96b6n6v8hwa6";
    };
  
    nativeBuildInputs = [ cmake ];
  