Shell.nix for libthai.so.0

I have difficulaties to make libthai.so.0 available to anAppImage.

I tried following shell.nix:

with import <nixpkgs> {};
mkShell {
  NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
    libthai
    stdenv.cc.cc
  ];
  NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker";

  buildInputs = [ appimage-run libthai ];
}

I execute nix-shell shell.nix. Then

appimage-run git-butler_0.9.21_amd64.AppImage 

Then I get

git-butler: error while loading shared libraries: libthai.so.0: cannot open shared object file: No such file or directory

But I thought, libthai.so.0 is available because of the statements in shell.nix.

It works for me. Maybe the channel needs to be updated

    environment.systemPackages = with pkgs; [
      (appimage-run.override {
        extraPkgs =
          pkgs: with pkgs; [
            libthai
            libsecret
          ];
      })
    ];